Inline function that converts an amplitude ratio value to a decibel value.
float XAudio2AmplitudeRatioToDecibels(
float Volume
)
Volume
Type: floatĀ
Floating point value representing the amplitude ratio.
Type: floatĀ
Returns a floating point value that represents the decibel value.
You must explicitly define XAUDIO2_HELPER_FUNCTIONS in your build for this function to become available.
Header: Declared in xaudio2.h.
Library: Use xaudio2.lib.