Copyright © 2005-2018 MultiMedia Soft

ASIO.PlayerOutputChannelGet method

Previous pageReturn to chapter overviewNext page

Remarks

 

If the given player is attached to an ASIO device, gets its ASIO output channel. The output channel can be modified through the ASIO.PlayerOutputChannelSet method.

If the sound loaded into the given player is in stereo, this method will in any case return only the zero-based index of the first 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 PlayerOutputChannelGet (

nPlayerIndex as Int16

) as Int16


 

[C#]

public Int16 PlayerOutputChannelGet (

Int16 nPlayerIndex

);


 

[C++]

public: Int16 PlayerOutputChannelGet (

Int16 nPlayerIndex

);


 

Parameter

Description

 

 

nPlayerIndex

Number representing the zero-based index of the involved player

 

 

Return value

 

Value

Meaning

 

 

Negative value

An error occurred (see the LastError property for further error details)

>= 0

Zero-based index of the ASIO channel