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
|