We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 2960

Summary: Audio is Completely Disabled after Call Interruption
Product: SDL Reporter: sofmz <sofmz>
Component: audioAssignee: Ryan C. Gordon <icculus>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2 CC: amaranth72
Version: 2.0.3   
Hardware: iPhone/iPod touch   
OS: iOS (All)   

Description sofmz 2015-04-24 10:34:35 UTC
I'm not sure if the root cause is from SDL or SDL_mixer. I've tried to run my game in iOS8 and Android, audio works fine including music before going to background and music resume after coming back to foreground. The only audio problem I've discovered is the audio is disabled audio in iPhone after receiving call while the game is running in foreground.


Steps to reproduce the bug :
1) Run a SDL app(with music) in iPhone.
2) Use other phone to call the iPhone while the SDL app is running.
3) End the call, all the music/sound is not working anymore, pressing up/down hardware volume control buttons will bring you to controlling ringtone volume instead of the SDL app media volume.
Comment 1 Alex Szpakowski 2016-09-18 22:23:08 UTC
This should be fixed as of https://hg.libsdl.org/SDL/rev/e9c3e64fdc84