diff options
author | dhewg | 2011-02-27 11:25:03 +0100 |
---|---|---|
committer | dhewg | 2011-02-27 14:15:47 +0100 |
commit | 24a332bd22073257ae9ed33dc0549bfde4538f1b (patch) | |
tree | a8bfb064fb77cf66b7ffba942118c24c4ebc6609 /backends | |
parent | 72889ee24fc290ba9353084bbf1e1a3fa47a115c (diff) | |
download | scummvm-rg350-24a332bd22073257ae9ed33dc0549bfde4538f1b.tar.gz scummvm-rg350-24a332bd22073257ae9ed33dc0549bfde4538f1b.tar.bz2 scummvm-rg350-24a332bd22073257ae9ed33dc0549bfde4538f1b.zip |
ANDROID: Prevent AudioTrack unpause on startup
Diffstat (limited to 'backends')
-rw-r--r-- | backends/platform/android/android.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/platform/android/android.cpp b/backends/platform/android/android.cpp index 62b8b60495..57e84d07c6 100644 --- a/backends/platform/android/android.cpp +++ b/backends/platform/android/android.cpp @@ -189,7 +189,7 @@ void *OSystem_Android::audioThreadFunc(void *arg) { tv_full.tv_nsec = msecs_full * 1000 * 1000; bool silence; - uint silence_count = 0; + uint silence_count = 33; while (!system->_audio_thread_exit) { buf = (byte *)env->GetPrimitiveArrayCritical(bufa, 0); |