• 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: Sound stops playing when I plug in the headphones
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Sound stops playing when I plug in the headphones


  • Subject: Re: Sound stops playing when I plug in the headphones
  • From: Aran Mulholland <email@hidden>
  • Date: Sun, 26 Feb 2012 11:00:18 +1100

Have a look at the audio session guide. you need to handle the
interruption yourself.

https://developer.apple.com/library/ios/#DOCUMENTATION/Audio/Conceptual/AudioSessionProgrammingGuide/HandlingAudioInterruptions/HandlingAudioInterruptions.html#//apple_ref/doc/uid/TP40007875-CH11-SW1

On Sat, Feb 25, 2012 at 7:20 PM, Jorge Chamorro <email@hidden> wrote:
> Hi,
>
> I have an application that uses Audio Queue Services and everything is working fine except that I've discovered that when I plug in the headphones it stops playing (but I don't see/get any errors anywhere) forever.
>
> Once it stops playing, it does not help to unplug the headphones again. It happens also the other way around, if I launch it with the headphones plugged in (sound plays ok), and then unplug them (stops playing forever).
>
> I think I can use AudioQueueAddPropertyListener to detect changes in the kAudioQueueProperty_CurrentDevice, but once I know that, what else shall I do to remedy the problem ?
>
> I would appreciate very much any help.
>
> Thank you,
> --
> Jorge.
>  _______________________________________________
> 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


References: 
 >Sound stops playing when I plug in the headphones (From: Jorge Chamorro <email@hidden>)

  • Prev by Date: Re: extaudiofileread stereo float (iOS)
  • Next by Date: Re: extaudiofileread stereo float (iOS)
  • Previous by thread: Sound stops playing when I plug in the headphones
  • Next by thread: AUSampler Bug
  • Index(es):
    • Date
    • Thread