aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sound/mixer.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/sound/mixer.cpp b/sound/mixer.cpp
index 7abf09ad97..d012ca6f51 100644
--- a/sound/mixer.cpp
+++ b/sound/mixer.cpp
@@ -442,9 +442,7 @@ void Channel::mix(int16 *data, uint len) {
_mixerTimeStamp = g_system->getMillis();
_pauseTime = 0;
- _converter->flow(*_input, data, len, vol_l, vol_r);
-
- _samplesDecoded += len;
+ _samplesDecoded += _converter->flow(*_input, data, len, vol_l, vol_r);
}
}