aboutsummaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorPaweł Kołodziejski2002-09-15 05:38:04 +0000
committerPaweł Kołodziejski2002-09-15 05:38:04 +0000
commit2f91c18b22d584dbcaba9f86396bb322050f5344 (patch)
tree7bb540018e14a3caef76b6da88ed22fae2fa4c08 /sound
parentfb91bdd21ddfb3cbb955f1b9749bb21fcedfbd0e (diff)
downloadscummvm-rg350-2f91c18b22d584dbcaba9f86396bb322050f5344.tar.gz
scummvm-rg350-2f91c18b22d584dbcaba9f86396bb322050f5344.tar.bz2
scummvm-rg350-2f91c18b22d584dbcaba9f86396bb322050f5344.zip
speed changes to play smush movies
svn-id: r4941
Diffstat (limited to 'sound')
-rw-r--r--sound/mixer.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/sound/mixer.cpp b/sound/mixer.cpp
index b3ae2f591e..0e1dc90761 100644
--- a/sound/mixer.cpp
+++ b/sound/mixer.cpp
@@ -656,11 +656,13 @@ void SoundMixer::ChannelStream::mix(int16 * data, uint len) {
} else {
mixer_helper_table[_flags & 0x07] (data, &len, &_pos, &fp_pos, fp_speed, vol_tab, _endOfBuffer);
if (len != 0) {
+ //FIXME: what is wrong ?
+ warning("bad play sound in stream(wrap around)");
_pos = _ptr;
mixer_helper_table[_flags & 0x07] (data, &len, &_pos, &fp_pos, fp_speed, vol_tab, end_of_data);
}
}
- _timeOut = 2;
+ _timeOut = 3;
_fpPos = fp_pos;
}