AUGraph recording iPhone
AUGraph recording iPhone
- Subject: AUGraph recording iPhone
- From: Bruce Meagher <email@hidden>
- Date: Tue, 8 Dec 2009 10:11:33 -0800
Hi All,
I currently have an iPhone app that plays multiple streams of audio
through a multichannel mixer connection to the remoteIO audio unit
that was setup using an AUGraph. I now want to add the ability to
process the incoming audio from the built-in mic. I was able to
record the audio through the remoteIO audio unit if I used :
AudioUnitSetProperty(mRemoteIO,
kAudioOutputUnitProperty_SetInputCallback, kAudioUnitScope_Output, 1,
&rcbs, sizeof(rcbs));
AudioUnitSetProperty(mRemoteIO, kAudioOutputUnitProperty_EnableIO,
kAudioUnitScope_Input, 1, &one, sizeof(one));
However, it seems like I should be using the AUGraph calls since the
graph is kind of managing my audio units. Is the correct approach to
use AUGraphAddRenderNotify to grab the mic audio from the remoteIO
audio unit (didn't get this to work), or is the correct way to
configure the audio unit directly, or something else?
Also, is there any Apple documentation (or API call) available that
describes the specs of microphone for the different iPhone platforms
(e.g. supported sample rates, mono or stereo, any filter
characteristics, etc.)?
Thanks,
Bruce
_______________________________________________
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