Interleave
此函数对音频采样进行交错,使与指定帧对应的所有采样都连续排列。语法
参数
pOutput _Out_writes_((uChannelCount * uFrameCount) / 4)类型:XMVECTOR* __restrict 调用方提供的 XMVECTOR 元素数组,用于以交错形式接收采样。它不能与 pInput 重叠,且元素数量至少必须为 (uChannelCount × uFrameCount) ÷ 4。 pInput _In_reads_((uChannelCount * uFrameCount) / 4)
类型:XMVECTOR* __restrict 调用方提供的 XMVECTOR 元素数组,以去交错形式提供音频采样。它不能与 pOutput 重叠,且元素数量至少必须为 (uChannelCount × uFrameCount) ÷ 4。 uChannelCount _In_
类型:size_t 数据中包含的通道数。uChannelCount 必须大于 1。 uFrameCount _In_
类型:size_t 有效数据的帧数。uFrameCount 必须大于 0。
