Copyright © 2006-2019 MultiMedia Soft

GetInputDeviceChannelDesc method

Previous pageReturn to chapter overviewNext page

Remarks

 

Retrieves the friendly description of the requested input channel. This method is very useful when you have to fill a combo box with the friendly names of the available input channels.

 

The total number of available input channels for the given input device can be obtained using the GetInputDeviceChannelsCount method.

 

 

Syntax

 

[Visual Basic]

control.GetInputDeviceChannelDesc (

nInputDevice as integer,

nInputChannel as integer

) as string


 

[C++]

LPCTSTR control.GetInputDeviceChannelDesc (

short nInputDevice,

short nInputChannel

);


 

 

Parameter

Description

 

 

nInputDevice

Number representing the zero-based index of the input device whose input channel must be retrieved

nInputChannel

Number representing the zero-based index of the requested input channel (Microphone, Stereo Mix, Line-In, etc.)

 

 

 

Return value

 

Value

Meaning

 

 

Empty string

An error occurred. Check the LastError property value in order to see the last error.

Valid string

The string containing the friendly description of the requested input channel.