diff options
author | Torbjörn Andersson | 2003-09-19 09:02:03 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2003-09-19 09:02:03 +0000 |
commit | dd261199d01e17d65fa329af3d574defb6ed7fb0 (patch) | |
tree | 3af14774151523fc15e3243c5a13dc296b8c70a2 /scumm | |
parent | 5628ee74177ac93436dca6cf14e9860721afc0df (diff) | |
download | scummvm-rg350-dd261199d01e17d65fa329af3d574defb6ed7fb0.tar.gz scummvm-rg350-dd261199d01e17d65fa329af3d574defb6ed7fb0.tar.bz2 scummvm-rg350-dd261199d01e17d65fa329af3d574defb6ed7fb0.zip |
This change was made to player_v2.cpp recently, and seems to fix bug
#809036 ("MANIAC64: Sound echoes").
I don't understand the exact implications of it, but I assume it has to do
with the premix function having to generate stereo samples now.
svn-id: r10309
Diffstat (limited to 'scumm')
-rw-r--r-- | scumm/player_v1.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/player_v1.cpp b/scumm/player_v1.cpp index 84473e85cd..8324b4947f 100644 --- a/scumm/player_v1.cpp +++ b/scumm/player_v1.cpp @@ -524,7 +524,7 @@ void Player_V1::do_mix (int16 *data, uint len) { generatePCjrSamples(data, step); else generateSpkSamples(data, step); - data += step; + data += 2 * step; _next_tick -= step << FIXP_SHIFT; if (!(_next_tick >> FIXP_SHIFT)) { |