iOS AVAudioSession AVAudioSessionCategoryPlayAndRecord problem with volume levels
iOS AVAudioSession AVAudioSessionCategoryPlayAndRecord problem with volume levels
- Subject: iOS AVAudioSession AVAudioSessionCategoryPlayAndRecord problem with volume levels
- From: White Hexagon <email@hidden>
- Date: Thu, 17 May 2012 17:07:02 +0300
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