Description
Plays the given sound.
Syntax
SoundID.i = UBE_PlaySound( Sound.i [, Mode.i] )
Parameters
Sound | The number or ID of the sound. |
Mode | A combination of following constants:
#UBE_SOUND_LOOP | Repeats the sound in a loop. | #UBE_SOUND_BACKGROUND | Disable the position of the sound. | #UBE_SOUND_CHANNEL | Creates a new (copy) of the sound. | #UBE_SOUND_DOPPLEREFFECT | Enable the frequency change in dependence of the relative movement. |
|
Return value
The ID of the given sound, or the new copy of the sound
See also