XAudio2RadiansToCutoffFrequency function
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
- Radians [in]
-
Value of the Frequency member of the XAUDIO2_FILTER_PARAMETERS structure.
- SampleRate [in]
-
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
|
Header |
|
|---|
See also
Show: