getSoundID
Script::getSoundID
Loads a sound in the Audio Module and returns a unique identifier to this sound.
Declaration
SoundID getSoundID(const Sound& sound);
Parameters
Name |
Type |
Description |
---|---|---|
sound |
const Sound& |
Sound to load in the Audio Module. |
Returns
A unique SoundID identifier for the image.
If the image could not be loaded, the returned value is NTSHENGN_SOUND_UNKNOWN
.