Re: extaudiofileread stereo float (iOS)
Re: extaudiofileread stereo float (iOS)
- Subject: Re: extaudiofileread stereo float (iOS)
- From: Gregory Wieber <email@hidden>
- Date: Thu, 23 Feb 2012 09:06:45 -0800
Thanks Michael,
Sure - I'll post it when I put together a more simple test app.
Curious: were you reading the noninterleaved audio into two different buffers in a bufferlist? That's the thing I can't seem to find any examples of online.
best,
Greg
On Thu, Feb 23, 2012 at 2:22 AM, Michael Tyson
<email@hidden> wrote:
Hey Greg - I've never had issues getting ExtAudioFileRead to honour noninterleaved audio formats - is your ASBD definitely correct? (maybe you could post it, just to be sure?)
On 20 Feb 2012, at 07:28, Gregory Wieber wrote:
> 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
_______________________________________________
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