ScummVM API documentation
Audio::Ima_ADPCMStream Class Reference
Inheritance diagram for Audio::Ima_ADPCMStream:
Audio::ADPCMStream Audio::SeekableAudioStream Audio::RewindableAudioStream Audio::AudioStream Audio::Apple_ADPCMStream Audio::DK3_ADPCMStream Audio::DVI_ADPCMStream Audio::MSIma_ADPCMStream

Public Member Functions

 Ima_ADPCMStream (Common::SeekableReadStream *stream, DisposeAfterUse::Flag disposeAfterUse, uint32 size, int rate, int channels, uint32 blockAlign)
 
- Public Member Functions inherited from Audio::ADPCMStream
 ADPCMStream (Common::SeekableReadStream *stream, DisposeAfterUse::Flag disposeAfterUse, uint32 size, int rate, int channels, uint32 blockAlign)
 
virtual bool endOfData () const
 
virtual bool isStereo () const
 
virtual int getRate () const
 
virtual bool rewind ()
 
virtual bool seek (const Timestamp &where)
 
virtual Timestamp getLength () const
 
- Public Member Functions inherited from Audio::SeekableAudioStream
bool seek (uint32 where)
 
- Public Member Functions inherited from Audio::AudioStream
virtual int readBuffer (int16 *buffer, const int numSamples)=0
 
virtual bool endOfStream () const
 

Static Public Attributes

static const int16 _imaTable [89]
 
- Static Public Attributes inherited from Audio::ADPCMStream
static const int16 _stepAdjustTable [16]
 

Protected Member Functions

int16 decodeIMA (byte code, int channel=0)
 
- Protected Member Functions inherited from Audio::ADPCMStream
virtual void reset ()
 

Additional Inherited Members

- Static Public Member Functions inherited from Audio::SeekableAudioStream
static SeekableAudioStreamopenStreamFile (const Common::Path &basename)
 
- Protected Attributes inherited from Audio::ADPCMStream
Common::DisposablePtr< Common::SeekableReadStream_stream
 
int32 _startpos
 
const int32 _endpos
 
const int _channels
 
const uint32 _blockAlign
 
uint32 _blockPos [2]
 
const int _rate
 
struct Audio::ADPCMStream::ADPCMStatus _status
 

Member Data Documentation

◆ _imaTable

const int16 Audio::Ima_ADPCMStream::_imaTable[89]
static

This table is used by decodeIMA.


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