Copyright © 2006 - 2008 MultiMedia Soft 
Return to Table of contents  
 
 
GetInputDeviceChannelVolume method 
 
Remarks 
 
Retrieves the current volume for the given channel on the given input device. 
 
The chosen channel's volume can be modified using the SetInputDeviceChannelVolume method. 
The total number of available input channels for the given input device can be obtained using the GetInputDeviceChannelsCount method. 
 
 
Syntax 
 
[Visual Basic] 
Public Function GetInputDeviceChannelVolume
nInputDevice  as Int16, 
nInputChannel as Int16 
) as Int16 
 
[C#] 
public Int16 GetInputDeviceChannelVolume
Int16 nInputDevice, 
Int16 nInputChannel  
);
 
[C++] 
public: Int16 GetInputDeviceChannelVolume
Int16 nInputDevice, 
Int16 nInputChannel  
);
 
 
Parameter
Description
 
 
nInputDevice
Number representing the zero-based index of the input device 
 
With Light edition this parameter must be set to 0
nInputChannel
Number representing the zero-based index of the requested input channel (Microphone, Stereo Mix, Line-In, etc.)  
 
With Light edition this parameter must be set to -1
 
 
 
Return value 
 
Value
Meaning
 
 
Negative value
An error occurred. Check the LastError property value in order to see the last error.
>= 0
The channel's volume: can be a value between 0 and 100
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Copyright © 2006 - 2008 MultiMedia Soft 
Return to Table of contents