Skip to main content

FFTUnswizzle

This function arranges the output of the Fast Fourier Transform (FFT) function by increasing frequency.

Syntax

Parameters

pOutput   _Out_writes_((1 << uLog2Length) / 4)
Type: XMVECTOR* __restrict
Caller-supplied output buffer. pOutput receives samples by increasing frequency. The buffer must have at least 1 << uLog2Length / 4 elements. pInput   _In_reads_((1 << uLog2Length) / 4)
Type: XMVECTOR* __restrict
Input buffer that contains samples in bit-reversed order, as generated by FFT functions. The buffer must have at least 1 << uLog2Length / 4 elements. uLog2Length   _In_
Type: size_t
Base-2 log of the FFT length in samples. uLog2Length must be greater than or equal to 2.

Return value

Type: void None.

Remarks

The FFT functions generate output in bit-reversed order. Use FFTUnswizzle to rearrange that output according to increasing frequency. To view the syntax and parameters of the Fast Fourier Transform function, see FFT. 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 Game for Windows and the DirectX SDK blog FFTInterleaved
Last modified on October 19, 2026