Functions

This section contains information about functions provided by the Microsoft XAudio2 API.

In this section

Topic Description
CreateFX
Creates an instance of the requested XAPOFX effect.
CreateHrtfApo
Creates an instance of the IXAPO interface for head-related transfer function (HRTF) processing.
ReverbConvertI3DL2ToNative
Inline function that converts I3DL2 (Interactive 3D Audio Rendering Guidelines Level 2.0) parameters to native XAudio2 parameters.
X3DAudioCalculate
Calculates DSP settings with respect to 3D parameters.
X3DAudioInitialize
Sets all global 3D audio constants.
XAudio2AmplitudeRatioToDecibels
Inline function that converts an amplitude ratio value to a decibel value.
XAudio2Create
Creates a new XAudio2 object and returns a pointer to its IXAudio2 interface.
XAudio2CreateReverb
Creates a new reverb audio processing object (APO), and returns a pointer to it.
XAudio2CreateVolumeMeter
Creates a new volume meter audio processing object (APO) and returns a pointer to it.
XAudio2CutoffFrequencyToOnePoleCoefficient
Inline function that converts from filter cutoff frequencies expressed in hertz to the filter coefficients used with the Frequency member of the XAUDIO2_FILTER_PARAMETERS structure.
XAudio2CutoffFrequencyToRadians
Inline function that converts from filter cutoff frequencies expressed in hertz to the radian frequency values used in the Frequency member of the XAUDIO2_FILTER_PARAMETERS structure.
XAudio2DecibelsToAmplitudeRatio
Inline function that converts a decibel value to an amplitude ratio value.
XAudio2FrequencyRatioToSemitones
Inline function that converts a frequency ratio value to a semitone value.
XAudio2RadiansToCutoffFrequency
Inline function that converts from the radian frequencies used in XAUDIO2_FILTER_PARAMETERS back to absolute frequencies in hertz.
XAudio2SemitonesToFrequencyRatio
Inline function that converts a semitone value to a frequency ratio value.

 

XAudio2::Programming Reference