Remarks
Retrieves the number of input channels (e.g. Microphone, Stereo Mix, Line-In, etc.) available inside the given input device.
The friendly name of each input channel can be obtained using the GetInputDeviceChannelDesc method.
Syntax
[Visual Basic]
control.GetInputDeviceChannelsCount (
nInputDevice as integer
) as integer
|
|
[C++]
short control.GetInputDeviceChannelsCount (
short nInputDevice
);
|
|
Parameter
|
Description
|
|
|
nInputDevice
|
Number representing the zero-based index of the input device whose input channels must be retrieved
|
Return value
Value
|
Meaning
|
|
|
Negative value
|
An error occurred, check the LastError property value in order to see the error code meaning
|
>= 0
|
The number of available channels.
|
|