Re: iPod Touch, headset and kAudioSessionBeginInterruption
Re: iPod Touch, headset and kAudioSessionBeginInterruption
- Subject: Re: iPod Touch, headset and kAudioSessionBeginInterruption
- From: Greg Chapman <email@hidden>
- Date: Fri, 27 Mar 2009 11:25:04 -0700
1. You should not be getting a BeginInterruption in this case, but if
you are, you have indeed been interrupted.
2. It is not correct to ignore BeginInterruption. If you get one, you
_have_ been interrupted.
There is a strange and fairly rare bug where pulling the headset jack
at _just_ the right speed causes a transient "hit" on the jack
connector in such a way that the driver thinks an Apple headset's
"Play" button has been pressed. So the iPod app starts to play a
song, and your app gets interrupted.
Is that what's happening?
Greg
On Mar 27, 2009, at 10:59 AM, Evan Olcott wrote:
Is there any reason why my application would be receiving the
kAudioSessionBeginInterruption message when a "HeadsetInOut" device
is removed on the iPod Touch? I was under the impression that this
message was reserved for when your application was about to be
killed (or at least followed by a kAudioSessionEndInterruption
message), not when hardware changes.
This message does not appear on the iPhone OS when a "HeadsetInOut"
is removed.
Is it safe to be ignoring the interruption messages on the iPod
Touch altogether?
Ev
Technical Knowledge Officer
Head Programmer/Designer
Audiofile Engineering
http://www.audiofile-engineering.com/
_______________________________________________
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
_______________________________________________
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