Re: New AVAudioSession iOS 6 notifications?
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