#include <audiostream.h>
Public Member Functions | |
virtual bool | rewind ()=0 |
Public Member Functions inherited from Audio::AudioStream | |
virtual int | readBuffer (int16 *buffer, const int numSamples)=0 |
virtual bool | isStereo () const =0 |
virtual int | getRate () const =0 |
virtual bool | endOfData () const =0 |
virtual bool | endOfStream () const |
A rewindable audio stream.
This allows for resetting the AudioStream to its initial state. Note that rewinding itself is not required to be working when the stream is being played by the mixer.
|
pure virtual |
Rewind the stream to its start.
Implemented in Audio::SeekableAudioStream, ZVision::RawZorkStream, Audio::Audio3DO_SDX2_Stream, Audio::ADPCMStream, Ultima::Nuvie::FMtownsDecoderStream, Audio::Audio3DO_ADP4_Stream, Ultima::Nuvie::PCSpeakerStream, BladeRunner::AudStream, Ultima::Nuvie::U6AdPlugDecoderStream, Ultima::Nuvie::AdLibSfxStream, and Grim::SCXStream.