Looking to pass audio directly from line input to the iPhone's speaker.
The first-guess of how to do this would be:
audioRoute = kAudioSessionOverrideAudioRoute_Speaker;
AudioSessionSetProperty(kAudioSessionProperty_OverrideAudioRoute, sizeof(audioRoute), &audioRoute);
But the "Speaker" audioroute cannot take input from the line in: it switches over to acquiring audio from the external microphone.
So, I'm still left searching for a way to route audio from the line input to the speaker for output.
OSX has IOAudioControl, and one can set its usage to kIOAudioControlUsagePassThru, which does what I'm looking for. But, this class doesn't exist on the iPhone.
Any ideas?
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