How to interleave a non-interleaved AudioBufferList inside a render callback?
问题 I'm working on a project that involves streaming audio from an AVPlayer video player object into libpd using an MTAudioProcessingTap . For the process loop of the tap, I used PdAudioUnit s render callback code as a guide; but I realized recently that the audio format expected by libpd is not the same as the audio coming from the tap — that is, the tap is providing two buffers of non-interleaved audio data in the incoming AudioBufferList, whereas libpd expects interleaved samples. I don't