Skip to main content

FFT

Fast Fourier Transform with an arbitrary number of samples.

Syntax

Parameters

pReal   _Inout_updates_((uLength * uCount) / 4)
Type: XMVECTOR* __restrict
Real components of the FFT. Must have at least (uLength × uCount) ÷ 4 elements. pImaginary   _Inout_updates_((uLength * uCount) / 4)
Type: XMVECTOR* __restrict
Imaginary components of the FFT. Must have at least (uLength × uCount) ÷ 4 elements. pUnityTable   _In_reads_(uLength * uCount)
Type: XMVECTOR* __restrict
Unity table to be used by the FFT. Must have at least uLength × uCount XMVECTORs. For more information, see FFTInitializeUnityTable. uLength   _In_
Type: size_t
FFT length in samples. uLength must be a power of two and greater than 16. uCount   _In_
Type: size_t
Number of FFT iterations.

Return value

Type: void None.

Remarks

For FFTs with a number of samples that are less than or equal to 16, use FFT16, FFT8, or FFT4. All buffer parameters must be 16-byte aligned. Audio data must be FLOAT32 mono.

Requirements

Header: xdsp.h Supported platforms: XBOX One family consoles and XBOX Series consoles

See also

xdsp
Last modified on August 20, 2026