XAudio2RadiansToCutoffFrequency function (xaudio2.h)
Inline function that converts from the radian frequencies used in XAUDIO2_FILTER_PARAMETERS back to absolute frequencies in hertz.
Syntax
float XAudio2RadiansToCutoffFrequency(
[in] float Radians,
[in] float SampleRate
);
Parameters
[in] Radians
Value of the Frequency member of the XAUDIO2_FILTER_PARAMETERS structure.
[in] SampleRate
The sample rate of the audio data affected by the XAUDIO2_FILTER_PARAMETERS structure.
Return value
Returns a floating-point value that represents the frequency in hertz.
Remarks
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 |