aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Horn2003-07-06 01:41:34 +0000
committerMax Horn2003-07-06 01:41:34 +0000
commit0e9c6de1c48b112ec5749486e1cdc3e0d54c1c83 (patch)
treed662411f40ff046858d4d212fd8c814ebc97c0ef
parentbd160e09cf22ae720c78720795b7cdc0f8b266f1 (diff)
downloadscummvm-rg350-0e9c6de1c48b112ec5749486e1cdc3e0d54c1c83.tar.gz
scummvm-rg350-0e9c6de1c48b112ec5749486e1cdc3e0d54c1c83.tar.bz2
scummvm-rg350-0e9c6de1c48b112ec5749486e1cdc3e0d54c1c83.zip
increased SmushMixer stream size to 500K, this seems to help in Fullthrottle. Apparently, audio data is streamed faster than it's played, and in at least one case there's ~500KB being stream in quick successions (many packets, each 16KB), which is why 100K are not sufficient
svn-id: r8784
-rw-r--r--scumm/smush/smush_mixer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/smush/smush_mixer.cpp b/scumm/smush/smush_mixer.cpp
index 0076047768..15b67513f0 100644
--- a/scumm/smush/smush_mixer.cpp
+++ b/scumm/smush/smush_mixer.cpp
@@ -137,7 +137,7 @@ bool SmushMixer::handleFrame() {
if (_silentMixer == false) {
if (_channels[i].mixer_index == -1) {
- _channels[i].mixer_index = _mixer->newStream(data, size, rate, flags, 100000);
+ _channels[i].mixer_index = _mixer->newStream(data, size, rate, flags, 500000);
} else {
_mixer->appendStream(_channels[i].mixer_index, data, size);
}