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]

control.GetInputDeviceChannelDefault (

nInputDevice as integer

) as integer


 

[C++]

short control.GetInputDeviceChannelDefault (

short 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