Sound stops playing when I plug in the headphones
Sound stops playing when I plug in the headphones
- Subject: Sound stops playing when I plug in the headphones
- From: Jorge Chamorro <email@hidden>
- Date: Sat, 25 Feb 2012 09:20:50 +0100
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