XAudio2RadiansToCutoffFrequency

Inline function that converts from the radian frequencies used in XAUDIO2_FILTER_PARAMETERS back to absolute frequencies in hertz.

Syntax

float XAudio2RadiansToCutoffFrequency(
         float Radians,
         float SampleRate
)  

Parameters

Radians
Type: float 

Value of the Frequency member of the XAUDIO2_FILTER_PARAMETERS structure.

SampleRate
Type: float 

The sample rate of the audio data affected by the XAUDIO2_FILTER_PARAMETERS structure.

Return value

Type: float 

Returns a floating-point value that represents the frequency in hertz.

Remarks

Requirements

Header: Declared in xaudio2.h.

Library: Use xaudio2.lib.