• 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
Re: Using MediaPlayback session category in a recording app: Ignore everything I just said
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using MediaPlayback session category in a recording app: Ignore everything I just said


  • Subject: Re: Using MediaPlayback session category in a recording app: Ignore everything I just said
  • From: Michael Tyson <email@hidden>
  • Date: Thu, 09 Aug 2012 12:01:11 +0100

Wow - this is great information, Zach; thanks so much.

I would never have thought to try tweaking with order of setting other session properties.

Cheers!


On 9 Aug 2012, at 04:56, Zachary Kulis <email@hidden> wrote:

> One thing I've noticed when using the kAudioSessionProperty_OverrideCategoryMixWithOthers override is that it actually matters when the override is applied. For example, I encountered difficulties with the override when I set it *prior* to setting the kAudioSessionProperty_OverrideCategoryDefaultToSpeaker override. Try setting the kAudioSessionProperty_OverrideCategoryMixWithOthers override as the last step in your audio session initialization/configuration procedure (I also found that it's good to reapply these overrides whenever the audio route changes).
>
> Incidentally, the problem that I encountered was that MPMusicPlayerController would interrupt my audio session whenever I started playback (despite having the override set); however, setting kAudioSessionProperty_OverrideCategoryMixWithOthers after all other     initialization resolved the problem.
>
> Best,
> Zach Kulis

 _______________________________________________
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

References: 
 >Using MediaPlayback session category in a recording app (From: Michael Tyson <email@hidden>)
 >Re: Using MediaPlayback session category in a recording app: Ignore everything I just said (From: Michael Tyson <email@hidden>)
 >Re: Using MediaPlayback session category in a recording app: Ignore everything I just said (From: Michael Tyson <email@hidden>)
 >Re: Using MediaPlayback session category in a recording app: Ignore everything I just said (From: Zachary Kulis <email@hidden>)

  • Prev by Date: Re: Getting SampleHardwarePlugin to work for default device
  • Next by Date: HAL plugin problem with sandboxed apps
  • Previous by thread: Re: Using MediaPlayback session category in a recording app: Ignore everything I just said
  • Next by thread: Re: Coreaudio-api Digest, Vol 9, Issue 235
  • Index(es):
    • Date
    • Thread