ASIO.PlayerOutputChannelSet method |
|
Remarks
If the given player is attached to an ASIO device, sets its ASIO output channel for audio playback.
ASIO channels are always in Mono so, if the sound loaded inside the given player is Stereo, you only need to set the first channel index that will output the left channel of the original Stereo sound and the player will automatically send the right channel of the original Stereo sound to the next available output ASIO channel.
For further details about the use of ASIO drivers see the ASIOMan class and the How to manage ASIO drivers tutorial.
Syntax
[Visual Basic] Public Function PlayerOutputChannelSet ( nPlayerIndex as Int16, nChannelIndex as Int16 ) as enumErrorCodes |
[C#] public enumErrorCodes PlayerOutputChannelSet ( Int16 nPlayerIndex, Int16 nChannelIndex ); |
[C++] public: enumErrorCodes PlayerOutputChannelSet ( Int16 nPlayerIndex, Int16 nChannelIndex ); |
Parameter |
Description |
|
|
nPlayerIndex |
Number representing the zero-based index of the involved player |
nChannelIndex |
Number representing the zero-based index of the output ASIO channel |
Return value
Value |
Meaning |
|
|
Negative value |
An error occurred (see the LastError property for further error details) |
enumErrorCodes.NOERROR (0) |
The method call was successful. |