extaudiofileread stereo float (iOS)
extaudiofileread stereo float (iOS)
- Subject: extaudiofileread stereo float (iOS)
- From: Gregory Wieber <email@hidden>
- Date: Sun, 19 Feb 2012 22:28:03 -0800
Hi everyone,
I'm converting some old code to use ExtAudioFileRead, and I've applied a client format that used non-interleaved floating point. I'm feeding it a buffer list that has 2 allocated buffers -- I want to be able to access the left and right data as two separate arrays.
It looks like mBuffers[0] and mBuffers[1] are getting identical data (the source audio file is stereo), rather than unique left and right data.
I've heard rumors that a ExtAudioFileRead does not actually honor a mNumberBuffers value > 1, but haven't located any official info on that anywhere. One of the main reasons for using the ExtAudioFileRead was so that I could have the conversion to float done as quickly and efficiently as possible, and before I go the route of the vDSP_ctoz method mentioned recently, I'd like to see if anyone knows why ExtAudioFileRead wouldn't be honoring the non-interleaved ASBD and buffer list layout.
Any ideas? Thanks in advance.
best,
Greg
_______________________________________________
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