Bluetooth Framework C++ Edition

◆ GetVolume()

int GetVolume ( float &  Volume)

Gets the master 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.

Parameters
VolumeThe 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.
Returns
If the function succeed the return value is WCL_E_SUCCESS. Otherwise the method returns one of the WCL error codes.