wclAudioVolumeGetChannelVolume Method |
Gets the channel volume level of the audio stream that enters
or leaves the audio endpoint device. The volume level is expressed as
a normalized, audio-tapered value in the range from 0.0
to 1.0.
Namespace: wclAudioAssembly: wclBluetoothFramework (in wclBluetoothFramework.dll) Version: 7.19.35.0 (7.19.35.0)
Syntaxpublic int GetChannelVolume(
uint Channel,
out float Volume
)
Public Function GetChannelVolume (
Channel As UInteger,
<OutAttribute> ByRef Volume As Single
) As Integer
public:
int GetChannelVolume(
unsigned int Channel,
[OutAttribute] float% Volume
)
Parameters
- Channel UInt32
- The audio endpoint channel number. The value
must be in range between 0 and Channels - 1.
- Volume Single
- The variable into which the method writes the
volume level. The level is expressed as a normalized value in the
range from 0.0 to 1.0.
Return Value
Int32 If the function succeed the return value is
WCL_E_SUCCESS. Otherwise the method returns one of
the WCL error codes.
See Also