aboutsummaryrefslogtreecommitdiff
path: root/scumm/smush/smush_mixer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scumm/smush/smush_mixer.cpp')
-rw-r--r--scumm/smush/smush_mixer.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/scumm/smush/smush_mixer.cpp b/scumm/smush/smush_mixer.cpp
index e5a41799d4..78f6c02e51 100644
--- a/scumm/smush/smush_mixer.cpp
+++ b/scumm/smush/smush_mixer.cpp
@@ -117,8 +117,6 @@ bool SmushMixer::handleFrame() {
if (is_short) {
data = malloc(size * (stereo ? 2 : 1) * 4);
_channels[i].chan->getSoundData((int16 *)data, size);
- if (_channels[i].chan->getRate() == 11025)
- size *= 2;
size *= stereo ? 4 : 2;
flags |= SoundMixer::FLAG_16BITS;
@@ -126,8 +124,6 @@ bool SmushMixer::handleFrame() {
} else {
data = malloc(size * (stereo ? 2 : 1) * 2);
_channels[i].chan->getSoundData((int8 *)data, size);
- if (_channels[i].chan->getRate() == 11025)
- size *= 2;
size *= stereo ? 2 : 1;
flags |= SoundMixer::FLAG_UNSIGNED;