aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTravis Howell2003-12-17 06:24:18 +0000
committerTravis Howell2003-12-17 06:24:18 +0000
commit4077b92c0263760643f81253ed06a24c5c488225 (patch)
tree07b4a237efdfdd7cfada40d86162cc0d9278d436
parent7f5df14e7d5a4b4c560fa8697994fa5b512f8971 (diff)
downloadscummvm-rg350-4077b92c0263760643f81253ed06a24c5c488225.tar.gz
scummvm-rg350-4077b92c0263760643f81253ed06a24c5c488225.tar.bz2
scummvm-rg350-4077b92c0263760643f81253ed06a24c5c488225.zip
Fix compile for now, I hope this is right.
svn-id: r11702
-rw-r--r--scumm/player_mod.cpp2
1 files changed, 1 insertions, 1 deletions
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);
}