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
This commit is contained in:
Torbjörn Andersson 2003-09-19 09:02:03 +00:00
parent 5628ee7417
commit dd261199d0

View File

@ -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)) {