MCPcopy Create free account
hub / github.com/OpenFodder/openfodder / RewindableAudioStream

Class RewindableAudioStream

Source/Amiga/audiostream.hpp:84–92  ·  view source on GitHub ↗

* A rewindable audio stream. This allows for reseting the AudioStream * to its initial state. Note that rewinding itself is not required to * be working when the stream is being played by Mixer! */

Source from the content-addressed store, hash-verified

82 * be working when the stream is being played by Mixer!
83 */
84class RewindableAudioStream : public virtual AudioStream {
85public:
86 /**
87 * Rewinds the stream to its start.
88 *
89 * @return true on success, false otherwise.
90 */
91 virtual bool rewind() = 0;
92};
93
94/**
95 * A looping audio stream. This object does nothing besides using

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected