Copyright © 2001-2019 MultiMedia Soft

ASIO.PlayerOutputChannelSet method

Previous pageReturn to chapter overviewNext page

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 ASIO object section and the How to manage ASIO drivers tutorial.

 

 

Syntax

 

[Visual Basic]

control.ASIO.PlayerOutputChannelSet (

nPlayer as Integer,

nChannelIndex as Integer

) as enumErrorCodes


 

[C++]

short control.ASIO.PlayerOutputChannelSet (

short nPlayer,

short nChannelIndex

);


 

Parameter

Description

 

 

nPlayer

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.ERR_NOERROR (0)

The method call was successful