#include <audiostream.h>
Public Member Functions | |
virtual void | queuePacket (Common::SeekableReadStream *data)=0 |
virtual void | finish ()=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 |
An AudioStream designed to work in terms of packets.
It is similar in concept to the QueuingAudioStream, but does not necessarily rely on the data from each queued AudioStream being separate.
|
pure virtual |
Queue the next packet to be decoded.
Implemented in Audio::StatelessPacketizedAudioStream.
|
pure virtual |
Mark this stream as finished. That is, signal that no further data
This is used to signal that no further data will be queued to the stream. The stream is only considered as ended after this has been done.
Implemented in Audio::StatelessPacketizedAudioStream.