Re: AUHAL deinterleaved data format - how to handle it
Re: AUHAL deinterleaved data format - how to handle it
- Subject: Re: AUHAL deinterleaved data format - how to handle it
- From: David Duncan <email@hidden>
- Date: Thu, 14 Oct 2004 14:25:05 -0400
On Oct 14, 2004, at 01:01 PM, Simon Liu wrote:
As stated in TN2091, an AUHAL's AudioBufferList points to
deinterleaved data. In my tests, for my built-in audio controller,
there are 2 buffers, with each buffer holding 1 channel worth of data.
This is only for HALOutput AUs, and not normal AUs right?
v2 AUs by default all use deinterleaved formats, this is not restricted
to the HAL Output AU.
- In my AUHAL render callback, I want to copy the data to a buffer,
which is periodically looked at by a thread which uses AudioConverter
with a AudioFile to write out an AIFF file. How can I interleave the
data efficiently, so I can use AudioConverter?
You don't need to interleave the data for the Audio Converter, just
configure your converter to accept de-interleaved audio and output
interleaved.
--
Reality is what, when you stop believing in it, doesn't go away.
Failure is not an option. It is a privilege reserved for those who try.
David Duncan
_______________________________________________
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