ScummVM API documentation
Ultima::Ultima8::AudioSample Class Referenceabstract
Inheritance diagram for Ultima::Ultima8::AudioSample:
Ultima::Ultima8::RawAudioSample Ultima::Ultima8::SonarcAudioSample

Public Member Functions

 AudioSample (const uint8 *buffer, uint32 size, uint32 bits, bool stereo, bool deleteBuffer)
 
uint32 getRate () const
 
uint32 getBits () const
 
bool isStereo () const
 
uint32 getLength () const
 get AudioSample _length (in samples)
 
virtual Audio::SeekableAudioStreammakeStream () const =0
 

Protected Attributes

uint32 _sampleRate
 
uint32 _bits
 
bool _stereo
 
uint32 _length
 
uint32 _bufferSize
 
uint8 const * _buffer
 
bool _deleteBuffer
 

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