No interruption events when pausing music using headphone controller
No interruption events when pausing music using headphone controller
- Subject: No interruption events when pausing music using headphone controller
- From: Beinan Li <email@hidden>
- Date: Mon, 27 May 2013 13:13:27 -0400
Hi CoreAudio,
Our iOS app uses AudioSessionCategory_SoloAmbientSound.
And if we follow this procedure, the audio of our app will become silence:
1. Turn on the built-in Music app and play it.
2. Turn on our app and make the app sounds play and observe that the Music app is silenced (as expected).
3. Resume the music app playback using the playback control on the bundled iPhone earplug. Notice that app sounds stopped (as expected).
4. Pause the music app playback using the earplug control.
Now we notice that our app is silent. Audio doesn't come back as "expected".
I initially suspected that maybe the audio session was hijacked by the Music app. So I tried to reset active session in several delegates applicationWillResignActive and applicationDidBecomeActive. But that didn't work.
Is there a way (e.g., a delegate) to track this kind of interruptions?
Thansk!
_______________________________________________
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