• 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
iPod Touch, headset and kAudioSessionBeginInterruption
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

iPod Touch, headset and kAudioSessionBeginInterruption


  • Subject: iPod Touch, headset and kAudioSessionBeginInterruption
  • From: Sam Clegg <email@hidden>
  • Date: Thu, 19 Aug 2010 16:59:41 -0700

Hi all,

This is my first post the list so please go easy on me.  I'm
resurrecting thread from back in March of last year:

http://lists.apple.com/archives/coreaudio-api/2009/Mar/msg00341.html

Did this ever get resolved?  If so please ignore the rest of this
message.

We've been experiencing this exact same problem and can reproduce it
pretty consistently on iTouch devices.  The problem is essentially that
removing the headset while while in PlayAndRecord mode causes an
AudioSession interruption that never ends.

Reproduction steps:

 1) Download the SpeakHere example from the apple developer site.
 2) Put printf statements in the route changed callback, the
    interruption callback and the input availability callback.
 3) Run the app on an iPod touch with the headset initially plugged
 4) Start recording and unplug the headset during recording.
 5) Notice the following sequence of printf statements in the
    debug console:

     - route changed (stopping input queue)
     - interruptionListener: Begin
     - input availability changed

Notice the lack of any end to the interruption.

In our more complicated application I've tried doing all kind of things
to the audio session when the initial route changed callback is fired,
but whatever I do I can't seem to avoid the following interruption.

I myself have reproduced that above problem on an iTouch 3G running iOS
4.1 beta3.


--
sam clegg
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

  • Follow-Ups:
    • Re: iPod Touch, headset and kAudioSessionBeginInterruption
      • From: Tom Lieber <email@hidden>
  • Prev by Date: Re: Sampling the secondary mic?
  • Next by Date: Re: ExtAudioFile - mono to stereo
  • Previous by thread: Re: ExtAudioFile - mono to stereo
  • Next by thread: Re: iPod Touch, headset and kAudioSessionBeginInterruption
  • Index(es):
    • Date
    • Thread