XAudio2AmplitudeRatioToDecibels function (xaudio2.h)
Inline function that converts an amplitude ratio value to a decibel value.
Syntax
float XAudio2AmplitudeRatioToDecibels(
[in] float Volume
);
Parameters
[in] Volume
Floating point value representing the amplitude ratio.
Return value
Returns a floating point value that represents the decibel value.
Remarks
You must explicitly define XAUDIO2_HELPER_FUNCTIONS in your build for this function to become available.
Platform Requirements
Windows 10 (XAudio2.9); Windows 8, Windows Phone 8 (XAudio 2.8); DirectX SDK (XAudio 2.7)Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | xaudio2.h |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for