ScummVM API documentation
Gob::SoundDesc Class Reference

Public Member Functions

void swap (SoundDesc &desc)
 
byte * getData ()
 
uint32 size () const
 
bool empty () const
 
SoundType getType () const
 
bool isId (int16 id) const
 
void set (SoundType type, byte *data, uint32 dSize)
 
bool load (SoundType type, byte *data, uint32 dSize)
 
bool load (SoundType type, Resource *resource)
 
void free ()
 
void convToSigned ()
 
int16 calcFadeOutLength (int16 frequency)
 
uint32 calcLength (int16 repCount, int16 frequency, bool fade)
 

Public Attributes

int16 _repCount
 
int16 _frequency
 
int16 _flag
 
int16 _id
 
byte _mixerFlags
 

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