Re: Two audio sessions running simultaneously
Re: Two audio sessions running simultaneously
- Subject: Re: Two audio sessions running simultaneously
- From: Aran Mulholland <email@hidden>
- Date: Mon, 22 Feb 2010 09:18:21 +1100
you dont need to run multiple sessions, you can redirect the audio route
UInt32 audioRouteOverride = kAudioSessionOverrideAudioRoute_Speaker;
AudioSessionSetProperty ( kAudioSessionProperty_OverrideAudioRoute,
sizeof (audioRouteOverride), &audioRouteOverride );
funnily enough this information can be found in the Audio Session
Programming Guide (page 46.)
http://developer.apple.com/iphone/library/documentation/Audio/Conceptual/AudioSessionProgrammingGuide/AudioSessionProgrammingGuide.pdf
On Mon, Feb 22, 2010 at 4:59 AM, Alex Wiltschko <email@hidden> wrote:
> I've been trying to wrangle the iPhone into collecting audio input through the line-input and routing it out through the bottom speaker. It doesn't seem like there is an AudioRoute type that allows this using a single Audio Session.
>
> My question is, can I run multiple audio sessions to get around this drawback? I would acquire audio in an AUGraph initialized in one audio session, and then pass the audio for playback to another AUGraph in another audio session.
>
> If this is not possible, is there ANY way at all to do simultaneous line-input recording + speaker output? _______________________________________________
> 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