AudioPlaySound |
Top Previous Next |
Message
AudioPlaySound <audiodevicenumber>|<alias> <soundname> [-loop]
Originator
Client
Response
Error: no such audio device SyntaxError: insufficient parameters to AudioPlaySound SyntaxError: invalid parameters to AudioPlaySound Error: no such audio sound Info: playing sound(s) <soundname> on device <audiodevicenum> Info: audio sounds playing Error: no such audio sound, or sound problem
Response (immediate socket)
Success Failure
Details
Plays a pre-loaded sound on the audio device it is attached to, starting at the beginning of the sound. If –loop is requested, the sound will play continuously until stopped by AudioStopSound, AudioSilenceDevice, AudioUnloadSound, AudioUnloadAll, AudioRelinquishAll, or ShutDown. If there are several sounds with this name, all are played.
Revision history
Implemented by WhiskerServer version 2.3.
See also
|