|
pause can be one of the two: SOUND_PAUSED or SOUND_RESUME_PLAYING
To pause a specific sound call this function with the SOUND_PAUSED constant.
To start playing it again call with the SOUND_RESUME_PLAYING constant
Example:
STATE_sound_set_pause_mode(my_sound, SOUND_PAUSED); this will pause the sound
your code here ....
STATE_sound_set_pause_mode(my_sound, SOUND_RESUME_PLAYING); this will resume playing.
|