Copyright © 2005-2019 MultiMedia Soft

ASIO.DeviceListenInputPlayerGet method

Previous pageReturn to chapter overviewNext page

Remarks

 

When the given ASIO device has been started through the ASIO.DeviceListenInputStart method, obtains the index of the internal player used for direct playback on one or more output channels of audio data incoming from one or more input channels.

The returned index can be used with any of the methods of the Effects COM object or with the StreamVolumeLevelSet method.

 

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 DeviceListenInputPlayerGet (

nDeviceIndex as Int16,

ByRef nPlayerIndex as Int16

) as enumErrorCodes


 

[C#]

public enumErrorCodes DeviceListenInputPlayerGet (

Int16 nDeviceIndex,

ref Int16 nPlayerIndex

);


 

[C++]

public: enumErrorCodes DeviceListenInputPlayerGet (

Int16 nDeviceIndex,

Int16 __gc *nPlayerIndex

);


 

Parameter

Description

 

 

nDeviceIndex

Number representing the zero-based index of the ASIO device previously started through a call to the ASIO.DeviceListenInputStart method.

nPlayerIndex

Reference that, on return from the method call, will contain the index of the internal player used for direct playback of incoming audio data.

 

 

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.