Re: Playing through speaker, recording through line in
Re: Playing through speaker, recording through line in
- Subject: Re: Playing through speaker, recording through line in
- From: Aran Mulholland <email@hidden>
- Date: Mon, 1 Feb 2010 17:54:43 +1100
from the audio session services reference -
http://developer.apple.com/iphone/library/documentation/Audio/Conceptual/AudioSessionProgrammingGuide/Cookbook/Cookbook.html
UInt32 audioRouteOverride = kAudioSessionOverrideAudioRoute_Speaker; // 1
AudioSessionSetProperty (
kAudioSessionProperty_OverrideAudioRoute, // 2
sizeof (audioRouteOverride), // 3
&audioRouteOverride // 4
);
--meaning you can override the output of the audio. I have found doing
this i had to then monitor if the headphone was plugged in etc and
redirect.
The user expects the output to come out the headphones if they are plugged in.
aran
_______________________________________________
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