aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/android/org/inodes/gus/scummvm
diff options
context:
space:
mode:
authordhewg2011-02-26 22:23:17 +0100
committerdhewg2011-02-27 09:04:37 +0100
commitd4c0501d1fcc8c98d39b2b7ba627cccb29cbc476 (patch)
treea5b374de7026451abca95a4f8326bb957a23bbe3 /backends/platform/android/org/inodes/gus/scummvm
parent0e869a5cf0e455f7cd5ce5c39192f3433b931e97 (diff)
downloadscummvm-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/org/inodes/gus/scummvm')
0 files changed, 0 insertions, 0 deletions