aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorPaweł Kołodziejski2004-04-27 17:31:28 +0000
committerPaweł Kołodziejski2004-04-27 17:31:28 +0000
commit1e83b30b98fa17f15384f69e527878cfcf9307ce (patch)
tree73ea0d9a6d6fdd5e4c05541d74d544d6fdbf1325 /scumm
parent54d27c12d9fe74c36f516f002da38747b28e5ad2 (diff)
downloadscummvm-rg350-1e83b30b98fa17f15384f69e527878cfcf9307ce.tar.gz
scummvm-rg350-1e83b30b98fa17f15384f69e527878cfcf9307ce.tar.bz2
scummvm-rg350-1e83b30b98fa17f15384f69e527878cfcf9307ce.zip
that is not need anymore
svn-id: r13656
Diffstat (limited to 'scumm')
-rw-r--r--scumm/imuse_digi/dimuse_track.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/scumm/imuse_digi/dimuse_track.cpp b/scumm/imuse_digi/dimuse_track.cpp
index a517773455..948f0b3dfb 100644
--- a/scumm/imuse_digi/dimuse_track.cpp
+++ b/scumm/imuse_digi/dimuse_track.cpp
@@ -136,14 +136,6 @@ void IMuseDigital::startSound(int soundId, const char *soundName, int soundType,
assert(channels == 1 || channels == 2);
assert(0 < freq && freq <= 65535);
- // Round the frequency to a multiple of 25. This is done to
- // ensure we don't run into data under-/overflows (this is a
- // design limitation of the current IMuseDigital code, which
- // pushes data 'blindly' into the mixer, instead of providing
- // a pull based interface, i.e. a custom AudioInputStream
- // subclass).
- freq -= (freq % 25);
-
_track[l]->iteration = freq * channels;
if (channels == 2)
_track[l]->mixerFlags = SoundMixer::FLAG_STEREO | SoundMixer::FLAG_REVERSE_STEREO;