Bluetooth Framework C++ Edition

◆ GetChannelsPeak()

int GetChannelsPeak ( wclAudioPeakValues Values)

Gets the peak sample value for the channels in the audio stream.

Parameters
ValuesThe variable into which the method writes the peak sample value for the audio stream. The peak value is a number in the normalized 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.
See also
wclAudioPeakValues