Public Member Functions | Public Attributes

AudioSound Struct Reference

Audio sound effect class. More...

#include <audio.h>

List of all members.

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

Detailed Description

Audio sound effect class.


Member Function Documentation

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

Parameters:
filename The filename to load.
Returns:
true if it succeeds, false if it fails.

The documentation for this struct was generated from the following files:
 All Classes Functions Variables Enumerations