From 4077b92c0263760643f81253ed06a24c5c488225 Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Wed, 17 Dec 2003 06:24:18 +0000 Subject: Fix compile for now, I hope this is right. svn-id: r11702 --- scumm/player_mod.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scumm/player_mod.cpp') diff --git a/scumm/player_mod.cpp b/scumm/player_mod.cpp index 75de446771..509a2b4d43 100644 --- a/scumm/player_mod.cpp +++ b/scumm/player_mod.cpp @@ -92,7 +92,7 @@ void Player_MOD::startChannel (int id, void *data, int size, int rate, uint8 vol _channels[i].pan = pan; _channels[i].ptr = data; _channels[i].freq = rate; - _channels[i].input = makeLinearInputStream(SoundMixer::FLAG_AUTOFREE | (loopStart != loopEnd ? SoundMixer::FLAG_LOOP : 0), (const byte*)data, size, loopStart, loopEnd - loopStart); + _channels[i].input = makeLinearInputStream(rate, SoundMixer::FLAG_AUTOFREE | (loopStart != loopEnd ? SoundMixer::FLAG_LOOP : 0), (const byte*)data, size, loopStart, loopEnd - loopStart); _channels[i].converter = makeRateConverter(rate, _mixer->getOutputRate(), false, false); } -- cgit v1.2.3