-
Notifications
You must be signed in to change notification settings - Fork 242
FFTInitializeUnityTable
Initializes unity roots lookup table used by Fast Fourier Transform functions.
void FFTInitializeUnityTable(XMVECTOR* pUnityTable, size_t uLength);
[out] Caller-provided array of XVECTOR elements that will be populated with the unity table values. The array passed to pUnityTable must be at least uLength elements long.
[in] The FFT length in frames (sample count / channel count). uLength must be a power of two and must be greater than 16.
Once initialized, the table does not need to be initialized again unless you want a different FFT length.
Unity tables for FFT lengths of 16 and below are hard coded into the respective FFT functions (FFT16, FFT8, and FFT4). They do not need to be initialized.
All buffer parameters must be 16-byte aligned. Audio data must be 32-bit float mono.
All content and source code for this package are subject to the terms of the MIT License.
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.
- Universal Windows Platform apps
- Windows desktop apps
- Windows 11
- Windows 10
- Windows 8.1
- Xbox One
- Xbox Series X|S
- Windows Subsystem for Linux
- x86
- x64
- ARM64
- Visual Studio 2022
- Visual Studio 2019 (16.11)
- clang/LLVM v12 - v18
- GCC 10.5, 11.4, 12.3
- MinGW 12.2, 13.2
- Intel Classic Compiler
- Intel oneAPI Compiler
DirectX Tool Kit for DirectX 11