-
Notifications
You must be signed in to change notification settings - Fork 247
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 opencode@microsoft.com with any additional questions or comments.