From dd261199d01e17d65fa329af3d574defb6ed7fb0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torbj=C3=B6rn=20Andersson?= Date: Fri, 19 Sep 2003 09:02:03 +0000 Subject: [PATCH] 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 --- scumm/player_v1.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scumm/player_v1.cpp b/scumm/player_v1.cpp index 84473e85cd9..8324b4947f1 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)) {