summaryrefslogtreecommitdiff
path: root/platform/android
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2018-03-01 12:50:31 +0100
committerGitHub <noreply@github.com>2018-03-01 12:50:31 +0100
commit3e03ed90a8e7a933cff02d0c46cd8d3b61a95f54 (patch)
treed711387cc572ca5bfcde081e1f58a7e1afbb2941 /platform/android
parentbc3bf793a91bcf2f39edd1134d9f174475578794 (diff)
parentc10749d51f2b77eb1b38909d790e7d3895a97364 (diff)
Merge pull request #17137 from endragor/fix-audio-init-crash
Fix intermittent audio driver crash during startup on Android
Diffstat (limited to 'platform/android')
-rw-r--r--platform/android/audio_driver_opensl.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/platform/android/audio_driver_opensl.cpp b/platform/android/audio_driver_opensl.cpp
index bc77a4e729..e6bd3ff253 100644
--- a/platform/android/audio_driver_opensl.cpp
+++ b/platform/android/audio_driver_opensl.cpp
@@ -271,4 +271,5 @@ AudioDriverOpenSL::AudioDriverOpenSL() {
s_ad = this;
mutex = Mutex::create(); //NULL;
pause = false;
+ active = false;
}