AudioSetSoundVolume |
Top Previous Next |
Message
AudioSetSoundVolume <audiodevicenumber>|<alias> <soundname> <volume>
Originator
Client
Response
Error: no such audio device SyntaxError: insufficient parameters to AudioSetSoundVolume SyntaxError: invalid parameters to AudioSetSoundVolume Error: no such audio sound, or sound problem Info: audio sound(s) stopped
Response (immediate socket)
Success Failure
Details
The relative volume of the sound, in decibels (dB), with 100 being full volume (no attenuation). Therefore
AudioLoadSound speaker sound1 "C:\mysound.wav" AudioLoadSound speaker sound2 "C:\mysound.wav" AudioSetSoundVolume speaker sound1 95
would result in sound1 being 5dB quieter than sound 2.
Revision history
Implemented by WhiskerServer version 2.3.
See also
|