AudioPlayFile

Top  Previous  Next

Message

 

AudioPlayFile <audiodevicenumber>|<alias> <filename>

 

Originator

 

Client

 

Response

 

SyntaxError: insufficient parameters to AudioPlayFile

SyntaxError: invalid parameters to AudioPlayFile

       

Response (immediate socket)

 

Success

Failure

 

Details

 

Loads a .WAV file, plays it on the chosen audio device, then forgets about it. The sound cannot be stopped while it is playing. (Use AudioLoadFile / AudioPlaySound / AudioStopSound / AudioUnloadSound for greater control over the process.)        

 

Revision history

 

Implemented by WhiskerServer version 2.3.

 

See also

 

Audio devices
AudioLoadSound
AudioPlaySound