• 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: New AVAudioSession iOS 6 notifications?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: New AVAudioSession iOS 6 notifications?


  • Subject: Re: New AVAudioSession iOS 6 notifications?
  • From: Kyle Sluder <email@hidden>
  • Date: Fri, 22 Feb 2013 08:02:28 -0800

On Thu, Feb 21, 2013, at 04:34 PM, Douglas Scott wrote:
> The notification system uses  AVAudioSessionInterruptionNotification.  In
> the documentation, you will see that a key is provided to tell you
> whether the interruption is beginning or ending.

The documentation quite clearly states that there are supposed to be two
_separate_ notifications, named
AVAudioSessionDidBeginInterruptionNotification and
AVAudioSessionDidEndInterruptionNotification, neither of which carries a
userInfo payload:
http://developer.apple.com/library/ios/#documentation/AVFoundation/Reference/AVAudioSession_ClassReference/Reference/Reference.html

It mentions these notifications alongside
AVAudioSessionInterruptionNotification, which is documented to carry
useful information in its userInfo dictionary.

So you can't blame Dave for expecting to receive the notifications that
AVAudioSession is documented to send. But hey, this is Core Audio, why
should we ever expect the docs to be right?

--Kyle Sluder
 _______________________________________________
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: 
 >New AVAudioSession iOS 6 notifications? (From: Dean Reyburn <email@hidden>)
 >Re: New AVAudioSession iOS 6 notifications? (From: Dave Fernandes <email@hidden>)
 >Re: New AVAudioSession iOS 6 notifications? (From: Douglas Scott <email@hidden>)
 >Re: New AVAudioSession iOS 6 notifications? (From: Dave Fernandes <email@hidden>)
 >Re: New AVAudioSession iOS 6 notifications? (From: Douglas Scott <email@hidden>)

  • Prev by Date: Re: New AVAudioSession iOS 6 notifications?
  • Next by Date: Re: New AVAudioSession iOS 6 notifications?
  • Previous by thread: Re: New AVAudioSession iOS 6 notifications?
  • Next by thread: Re: New AVAudioSession iOS 6 notifications?
  • Index(es):
    • Date
    • Thread