Re: iOS AVAudioSession AVAudioSessionCategoryPlayAndRecord problem with volume levels
Re: iOS AVAudioSession AVAudioSessionCategoryPlayAndRecord problem with volume levels
- Subject: Re: iOS AVAudioSession AVAudioSessionCategoryPlayAndRecord problem with volume levels
- From: Chris Adamson <email@hidden>
- Date: Thu, 17 May 2012 10:11:56 -0400
IIRC, the play-out volume drops because once you start recording off the built-in mic (as opposed to headset), you're at risk of feedback.
--Chris
On May 17, 2012, at 10:07 AM, White Hexagon wrote:
> I've switched from:
> AVAudioSessionCategoryPlayback
> to:
> AVAudioSessionCategoryPlayAndRecord
>
> At the same time I've redirected the audio back to the main speaker:
>
> UInt32 audioRouteOverride = kAudioSessionOverrideAudioRoute_Speaker;
> AudioSessionSetProperty(kAudioSessionProperty_OverrideAudioRoute, sizeof(UInt32), &audioRouteOverride);
>
> However, I'm still noticing a significant volume drop on playback. I can't find anything in the documents about restoring the volume level to be the same as the '...Playback' category. Is there any work-a-round for this?
>
> TIA Peter
> _______________________________________________
> 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