• 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: Douglas Scott <email@hidden>
  • Date: Fri, 22 Feb 2013 17:16:38 -0800

On Feb 22, 2013, at 10:08 AM, Dean Reyburn <email@hidden> wrote:

> Thanks Doug,
> So to summarize I guess we should ignore these 4 notifications for now as they are documented but not defined in the headers:
>
>  AVAudioSessionDidBeginInterruptionNotification
>  AVAudioSessionDidEndInterruptionNotification
>  AVAudioSessionInputDidBecomeAvailableNotification
>  AVAudioSessionInputDidBecomeUnavailableNotification

Yep.  This will be corrected.

>
> We should handle these notifications for iOS 6:
>  AVAudioSessionInterruptionNotification (userInfo tells you begin or end and if we should resume audio)
>  AVAudioSessionMediaServicesWereResetNotification (reset all audio from scratch)

Yep.

>
> Testing AVAudioSessionInterruptionNotification worked perfectly for audio recording interruptions on iPhone 4 with iOS 6.1.
>
> Any suggestions on how to invoke AVAudioSessionMediaServicesWereResetNotification? When would that happen, or is that an error conditions?
>

This is an error condition (which does happen) but not something you will be able to test.  If you receive it, you need to destroy and re-set up all your audio objects and settings from scratch.

-DS





 _______________________________________________
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: New AVAudioSession iOS 6 notifications?
      • From: Dave Fernandes <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>)
 >Re: New AVAudioSession iOS 6 notifications? (From: Dean Reyburn <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