Copyright © 2006-2018 MultiMedia Soft

GetInputDeviceChannelVolume method

Previous pageReturn to chapter overviewNext page

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

nInputChannel

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

 

 

 

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