Re: How to capture audio generated by a render callback, iOS
Re: How to capture audio generated by a render callback, iOS
- Subject: Re: How to capture audio generated by a render callback, iOS
- From: Joel Reymont <email@hidden>
- Date: Wed, 05 Dec 2012 17:41:11 +0000
On Wed, Dec 5, 2012 at 5:11 PM, Tim Kemp <email@hidden> wrote:
> What's the best way for me to convert that to interleaved data for Extended
> Audio File Services?
Have you tried using interleaved flags with RemoteIO audio unit?
If that doesn't work then you'll have to manually convert your two
non-interleaved buffers into a single interleaved one for use with
extended file services.
Just make a buffer with mData that has twice the samples and manually
copy the first buffer, starting at index 0 and increasing your counter
by 2 on every loop iteration. Then repeat with the second buffer but
starting at index 1.
--------------------------------------------------------------------------
for hire: mac osx device driver ninja. kernel, usb and coreaudio drivers
---------------------+------------+---------------------------------------
http://wagerlabs.com | @wagerlabs | http://www.linkedin.com/in/joelreymont
---------------------+------------+---------------------------------------
_______________________________________________
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