Logo Search packages:      
Sourcecode: scummvm version File versions  Download package

Audio::AudioStream Class Reference

#include <audiostream.h>

Inheritance diagram for Audio::AudioStream:

Audio::AppendableAudioStream Audio::LinearMemoryStream< stereo, is16Bit, isUnsigned, isLE > Audio::Paula Scumm::Player_MOD Scumm::Player_NES Scumm::Player_V2 Audio::AppendableMemoryStream< stereo, is16Bit, isUnsigned, isLE > Audio::Infogrames Scumm::Player_V1

List of all members.

Detailed Description

Generic audio input stream. Subclasses of this are used to feed arbitrary sampled audio data into ScummVM's audio mixer.

Definition at line 39 of file audiostream.h.

Public Member Functions

virtual bool endOfData () const =0
virtual bool endOfStream () const
virtual int getRate () const =0
virtual bool isStereo () const =0
virtual int readBuffer (int16 *buffer, const int numSamples)=0

Static Public Member Functions

static AudioStreamopenStreamFile (const Common::String &basename, uint32 startTime=0, uint32 duration=0, uint numLoops=1)

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

Generated by  Doxygen 1.6.0   Back to index