RetroArch
RetroArch copied to clipboard
iOS RetroArch audio stops after resuming from background
Description
Audio stops working when resuming iOS RetroArch from the background.
Expected behavior
Audio should continue to play even after resuming RetroArch from the background.
Actual behavior
After resuming RetroArch from the background, audio will no longer work until the app is force quit and relaunched.
Steps to reproduce the bug
- Open RetroArch on an iOS device.
- Begin playing a game.
- Verify audio is working.4.
- Return to the Home Screen by either swiping up from the bottom of the screen or pressing the home button, depending on your device.
- Wait 30 seconds.
- Reopen RetroArch.
- The game will resuming playing, but with no audio.
Bisect Results
I only noticed this happening since the release of iOS 15. I don’t recall it happening in iOS 14, but I don’t have a device on that version to confirm.
Backgrounding the app and reopening immediately will not reproduce the issue. It only happens after a little bit of time, so wait at least 30 seconds if you test it.
Version/Commit
You can find this information under Information/System Information
- RetroArch: 1.10.3 (May 2nd 2022)
Environment information
- OS: iOS 15.6
- Compiler: Compiler: Clang/LLVM (12.0.0 (clang-1200.0.32.27)) 64-bit
PRs welcome for this issue unfortunately.
This seems to be resolved in iOS 16, both in my experience and noted here: https://github.com/libretro/RetroArch/issues/14462