Re: full duplex example
Re: full duplex example
- Subject: Re: full duplex example
- From: "Han, Yushen" <email@hidden>
- Date: Wed, 13 Jun 2012 14:30:36 -0400
Chris,
Here is one old post that is helpful to understand the full duplex audio in coreAudio with RemoteIO
http://atastypixel.com/blog/using-remoteio-audio-unit/
One needs two callback functions for input and output respectively to achieve duplex audio.
The code was a modified version of Apple sample code and it should be fairly simple to further adapt it for your need.
It is for coreAudio iOS and works for OS X as well as I tested - one can think coreAudio on iOS a subset of that on OS X.
Beware that there are some significant updates on coreAudio from iOS 4.2/4.3 -> iOS 5 for the better. (Don't know any change on the iOS 6 preview yet.) The good news is that most of the iOS users keep their iOS updated very well.
AUGraph is perhaps a better solution if you want some processing beyond simple I/O.
Here is a 3-part tutorial that I followed - it started with the very basic.
Hope this helps.
Best regards,
Yushen Han
The code is derived from some sample code published
On Wed, Jun 13, 2012 at 11:00 AM, christopher raphael
<email@hidden> wrote:
Could someone point me to a coding example showing how to do full duplex audio with Coreaudio. Something very simple like writing the input audio to the output while controlling the I/O buffer size would be perfect.
Thanks,
_______________________________________________
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