diff options
author | dhewg | 2011-02-26 22:23:17 +0100 |
---|---|---|
committer | dhewg | 2011-02-27 09:04:37 +0100 |
commit | d4c0501d1fcc8c98d39b2b7ba627cccb29cbc476 (patch) | |
tree | a5b374de7026451abca95a4f8326bb957a23bbe3 /backends/platform/android/jni.cpp | |
parent | 0e869a5cf0e455f7cd5ce5c39192f3433b931e97 (diff) | |
download | scummvm-rg350-d4c0501d1fcc8c98d39b2b7ba627cccb29cbc476.tar.gz scummvm-rg350-d4c0501d1fcc8c98d39b2b7ba627cccb29cbc476.tar.bz2 scummvm-rg350-d4c0501d1fcc8c98d39b2b7ba627cccb29cbc476.zip |
ANDROID: Check audio buffer for silence
Most games register a music channel, and when there is no music,
they still stream silence (and run through all the Converter::flow
code!). Scan the buffer for that to pause the AudioTrack. Ugly, but
worth it - reduces CPU usage on many games and hence saves battery life.
Diffstat (limited to 'backends/platform/android/jni.cpp')
0 files changed, 0 insertions, 0 deletions