ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

Audio::PacketizedAudioStream Class Reference

An AudioStream designed to work in terms of packets. More...

#include <audiostream.h>

Inheritance diagram for Audio::PacketizedAudioStream:
Collaboration diagram for Audio::PacketizedAudioStream:

List of all members.

Public Member Functions

virtual ~PacketizedAudioStream ()
virtual void queuePacket (Common::SeekableReadStream *data)=0
 Queue the next packet to be decoded.
virtual void finish ()=0
 Mark this stream as finished.

Detailed Description

An AudioStream designed to work in terms of packets.

It is similar in concept to QueuingAudioStream, but does not necessarily rely on the data from each queued AudioStream being separate.

Definition at line 381 of file audiostream.h.


Constructor & Destructor Documentation

virtual Audio::PacketizedAudioStream::~PacketizedAudioStream (  )  [inline, virtual]

Definition at line 383 of file audiostream.h.


Member Function Documentation

virtual void Audio::PacketizedAudioStream::finish (  )  [pure virtual]

Mark this stream as finished.

That is, signal that no further data will be queued to it. Only after this has been done can this stream ever 'end'.

Implemented in Audio::StatelessPacketizedAudioStream, Audio::AC3Stream, and Audio::PacketizedMP3Stream.

virtual void Audio::PacketizedAudioStream::queuePacket ( Common::SeekableReadStream data  )  [pure virtual]

Queue the next packet to be decoded.

Implemented in Audio::StatelessPacketizedAudioStream, Audio::AC3Stream, and Audio::PacketizedMP3Stream.


The documentation for this class was generated from the following file:


Generated on Sat Sep 14 2019 05:03:45 for ResidualVM by doxygen 1.7.1
curved edge   curved edge