Copyright © 2006-2019 MultiMedia Soft

GetInputDeviceChannelDefault method

Previous pageReturn to chapter overviewNext page

Remarks

 

Retrieves the current default channel for the given input device.

 

The friendly name of each input channel can be obtained using the GetInputDeviceChannelDesc method.

 

 

Syntax

 

[Visual Basic]

Public Function GetInputDeviceChannelDefault (

nInputDevice as Int16

) as Int16


 

[C#]

public Int16 GetInputDeviceChannelDefault (

Int16 nInputDevice

);


 

[C++]

public: Int16 GetInputDeviceChannelDefault (

Int16 nInputDevice

);


 

 

Parameter

Description

 

 

nInputDevice

Number representing the zero-based index of the input device

 

 

 

Return value

 

Value

Meaning

 

 

Negative value

An error occurred, check the LastError property value in order to see the error code meaning

>= 0

The zero-based index of the current channel default