Audio sound effect class. More...
#include <audio.h>
Public Member Functions | |
bool | Load (const char *filename) |
Loads the given sound effect file. | |
Public Attributes | |
unsigned int | m_NameHash |
CIwSoundData * | m_SoundData |
CIwSoundSpec * | m_SoundSpec |
Audio sound effect class.
bool AudioSound::Load | ( | const char * | filename | ) |
Loads the given sound effect file.
Loads a sound effect file stored in ADPCM IMA mono format and creates a sound spec that can be used to play the sound effect
filename | The filename to load. |