|
StreamOutputDeviceSet method |
![]() ![]()
|
Remarks
Changes the output device (sound card) for the given player. This method can be called at any time, also during playback. The current selected device can be obtained through the StreamOutputDeviceGet method.
By default, the output device is set at the very beginning through a call to the InitSoundSystem method.
Use the value returned by the GetOutputDevicesCount method in order to know how many output devices are currently installed on the system and the GetOutputDeviceDesc method in order to retrieve the friendly name of every output device.
If the output device is changed successfully, a OutputDeviceChanged event is fired.
A call to this method will have no effect if the involved player has been added to a custom stream mixer through the StreamMixerPlayerAdd method.
For further details about output devices management, take a look to the How to work with multiple output devices and speakers section.
Syntax
Return value
|