-
Notifications
You must be signed in to change notification settings - Fork 241
Deinterleave
Deinterleaves audio samples such that all samples corresponding to a given channel are contiguous.
void Deinterleave(XMVECTOR* pOutput, const XMVECTOR* pInput,
const size_t uChannelCount, const size_t uFrameCount);
[out] Caller-provided array of XVECTOR elements that receives the samples in deinterleaved form. It cannot overlap pInput and it must have at least (uChannelCount × uFrameCount) ÷ 4 elements.
[in] Caller-provided array of XVECTOR elements that supplies audio samples in interleaved form. It cannot overlap pOutput and it must have at least (uChannelCount × uFrameCount) ÷ 4 elements.
[in] The number of channels contained in the data. uChannelCount must be greater than 1.
[in] The number of frames of valid data. uFrameCount must be greater than 0.
For example, audio of the form [LRLRLR] becomes [LLLRRR].
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 [email protected] 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