• 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: AudioSessionInterruptListenr is called on iPod
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AudioSessionInterruptListenr is called on iPod


  • Subject: Re: AudioSessionInterruptListenr is called on iPod
  • From: William Stewart <email@hidden>
  • Date: Tue, 9 Mar 2010 14:12:31 -0800

Hi Inca

So, a couple of points to note here.

Unfortunately, the begin interruption was used to signify that the input is gone. However, this is a bad idea (to use this notification for this), and so we plan on removing this going forward. You won't receive an "end interruption" when input becomes available again

What you can do, is when you get the begin interruption, you can check to see if input is no longer available (AVAudioSession) - in which case, you "know" that the interruption in this case was caused by input going away (and then I would just ignore the interruption).

AVAudioSession has a delegate that can be used to tell you when input is available (and when it changes) - you should use that to do whatever management you need to respond to input coming and going.

Bill

On Mar 9, 2010, at 4:44 AM, Inca Rose wrote:

More info ...
This happends when pulling out the headset with mic from the iPod.

On Mar 9, 2010, at 2:42 PM, Inca Rose wrote:

Hi;
What do I suppose to dowhen I get a callback to my AudioSessionInterruptListener on an iPod
with kAudioSessionBeginInterruption ??

I never get a new call with kAudioSessionEndInterruption

Pls help

Regards
Inca
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: 
 >AudioSessionInterruptListenr is called on iPod (From: Inca Rose <email@hidden>)
 >Re: AudioSessionInterruptListenr is called on iPod (From: Inca Rose <email@hidden>)

  • Prev by Date: Re: Strange erroros found in console.
  • Next by Date: Re: adding an event to a music track while playing
  • Previous by thread: Re: AudioSessionInterruptListenr is called on iPod
  • Next by thread: adding an event to a music track while playing
  • Index(es):
    • Date
    • Thread