• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
iOS AVAudioSession AVAudioSessionCategoryPlayAndRecord problem with volume levels
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: iOS AVAudioSession AVAudioSessionCategoryPlayAndRecord problem with volume levels
      • From: Chris Adamson <email@hidden>
  • Prev by Date: Choosing API for MP3 Streaming decode
  • Next by Date: Re: iOS AVAudioSession AVAudioSessionCategoryPlayAndRecord problem with volume levels
  • Previous by thread: Choosing API for MP3 Streaming decode
  • Next by thread: Re: iOS AVAudioSession AVAudioSessionCategoryPlayAndRecord problem with volume levels
  • Index(es):
    • Date
    • Thread