Copyright © 2006 - 2008 MultiMedia Soft 
Return to Table of contents  
 
 
GetInputDeviceChannelDesc method 
 
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] 
Public Function GetInputDeviceChannelsDesc
nInputDevice  as Int16, 
nInputChannel as Int16 
) as String 
 
[C#] 
public string GetInputDeviceChannelsDesc
Int16 nInputDevice, 
Int16 nInputChannel  
);
 
[C++] 
public: string GetInputDeviceChannelsDesc
Int16 nInputDevice, 
Int16 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.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Copyright © 2006 - 2008 MultiMedia Soft 
Return to Table of contents