Copyright © 2006-2018 MultiMedia Soft

GetInputDeviceChannelsCount method

Previous pageReturn to chapter overviewNext page

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]

Public Function GetInputDeviceChannelsCount (

nInputDevice as Int16

) as Int16


 

[C#]

public Int16 GetInputDeviceChannelsCount (

Int16 nInputDevice

);


 

[C++]

public: Int16 GetInputDeviceChannelsCount (

Int16 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.