Remarks
Redirects the given audio stream's clone, previously added through the StreamCloneAdd method, to the given output device.
If the new output device supports a multi-speaker configuration, you can redirect the clone to a specific speaker through the StreamCloneOutputSpeakerSet method.
Syntax
[Visual Basic]
control.StreamCloneOutputDeviceSet (
nPlayer as Integer,
nOutput as Integer,
nUniqueId as Long
) as enumErrorCodes
|
|
[C++]
short control.StreamCloneOutputDeviceSet (
short nPlayer,
short nOutput,
long nUniqueId
);
|
|
Parameter
|
Description
|
|
|
nPlayer
|
Number representing the zero-based index of the involved player
|
nOutput
|
Number representing the zero-based index of the output device. The number and descriptions of available output devices can be obtained with a prior call to the GetOutputDevicesCount and GetOutputDeviceDesc
|
nUniqueId
|
Numeric value representing the unique identifier of the audio stream's clone returned by the StreamCloneAdd method
|
Return value
Value
|
Meaning
|
|
|
Negative value
|
An error occurred, check the LastError property value in order to get the error code
|
enumErrorCodes.ERR_NOERROR (0)
|
The method call was successful
|
|