aboutsummaryrefslogtreecommitdiff
path: root/platform/javascript/os_javascript.cpp
diff options
context:
space:
mode:
authorRuslan Mustakov2018-05-07 15:44:07 +0700
committerHein-Pieter van Braam2018-05-13 21:46:53 +0200
commitecb4c4268c7e7bc38c553ee22ad183c3b1c07444 (patch)
tree643f5fe9f7320d481662526d96d26a19e0bc482d /platform/javascript/os_javascript.cpp
parentdb76c54117b1bd390c19de79f33431c4abc67391 (diff)
downloadgodot-ecb4c4268c7e7bc38c553ee22ad183c3b1c07444.tar.gz
godot-ecb4c4268c7e7bc38c553ee22ad183c3b1c07444.tar.zst
godot-ecb4c4268c7e7bc38c553ee22ad183c3b1c07444.zip
Resume audio on iOS after phone call or alarm
When a phone call or an alarm triggers on iOS, the application receives an "audio interruption" and it's up to the application to resume playback when the interruption ends. I added handling for audio interruptions same as if the game is focused out and then back in. (cherry picked from commit 96301e934d7600975922c5f373a488a532d77aad)
Diffstat (limited to 'platform/javascript/os_javascript.cpp')
0 files changed, 0 insertions, 0 deletions