AudioStopSound

Top  Previous  Next

Message

 

AudioStopSound <audiodevicenumber>|<alias> <soundname>

 

Originator

 

Client

 

Response

 

Error: no such audio device

SyntaxError: insufficient parameters to AudioStopSound

SyntaxError: invalid parameters to AudioStopSound

Warning: No sound buffer called <buffer> found on <device> by AudioStopSound!

Info: audio sound(s) stopped

 

Response (immediate socket)

 

Success

Failure

 

Details

 

Stops playback of the selected sound. (The call still succeeds if the sound wasn't playing in the first place. If there are several sounds with this name, all will be stopped.) The sounds are not deleted; you can play them again with AudioPlaySound.        

 

Revision history

 

Implemented by WhiskerServer version 2.3.

 

See also

 

Audio devices
AudioPlaySound
AudioUnloadSound