DisplaySetAudioDevice |
Top Previous Next |
Message
DisplaySetAudioDevice <displaydevice> <audiodevice>
Originator
Client
Response
SyntaxError: insufficient parameters to DisplaySetAudioDevice SyntaxError: invalid parameters to DisplaySetAudioDevice SyntaxError: second parameter must be up/down/both/none Error: Invalid device/line/client number or alias sent to DisplaySetAudioDevice Error: Audio device AAA (XXX) not the DirectSound variety, use another Info: Display device DDD using audio device AAA (DirectX name XXX) for video playback
Response (immediate socket)
Success Failure
Details
Associates a given display device with a given audio device, so that audio, if chosen, can be played from video files.
Not all audio devices will support this: in particular, the device must be (a) real, not fake (to get round this in a development environment, and to force audio off, do so by configuring the server in Server / Video configuration); (b) a DirectX device (thereby excluding the "Primary Sound Driver" - choose its DirectX equivalent) ; (c) not a left/right-"split" device.
Revision history
Implemented in WhiskerServer version 4.0.
See also
|