Re: Loading interleaved PCM stereo file on iPhone
Re: Loading interleaved PCM stereo file on iPhone
- Subject: Re: Loading interleaved PCM stereo file on iPhone
- From: james mccartney <email@hidden>
- Date: Fri, 22 May 2009 12:55:35 -0700
On May 22, 2009, at 10:46 AM, Antoine Gonot wrote: Dear James,
Thank you for your answer... I understood that audio samples are always deinterleaved in audio unit... However, as it is shown in the "MatrixMixerTest" example, the samples can be interleaved in a input buffer, which I read in my callback function for rendering input. I also understood that the MatrixMixer and the MultiChannelMixer are quite different. But, for me, I it was only for the number of output (the MultiChannelMixer provides only one stereo output). So, do you know any other differences ? Is my problem specific to the iPhone OS implementation ? Does it means that the ExtAudioFileRead can only copy data in a buffer as deinterleaved samples ?
ExtAudioFile can provide data as interleaved or deinterleaved.
For the mixers, there are more than just the difference you mentioned: parameter addressing, channel assignments, etc. More is different than is similar.
In addition, the "MultichannelMixer" on the phone is only a mono/stereo mixer. The name was kept the same for the benefit of the AudioQueue, but it is actually a different mixer than on the desktop.
So for these reasons, the desktop MatrixMixerTest is probably not a good place to start from for using the MultichannelMixer on the phone.
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden