aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scumm/imuse_digi/dimuse.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/scumm/imuse_digi/dimuse.cpp b/scumm/imuse_digi/dimuse.cpp
index 05ac57af1d..3f101289c9 100644
--- a/scumm/imuse_digi/dimuse.cpp
+++ b/scumm/imuse_digi/dimuse.cpp
@@ -237,12 +237,12 @@ void IMuseDigital::callback() {
int bits = _sound->getBits(_track[l]->soundHandle);
int channels = _sound->getChannels(_track[l]->soundHandle);
- int32 bufferUsage = _track[l]->iteration - _track[l]->stream->getFreeSpace() - 4;
- int32 bufferMin = (_track[l]->iteration * 1) / 10;
+ int32 bufferUsage = _track[l]->iteration - _track[l]->stream->getFreeSpace();
+ int32 bufferMin = (_track[l]->iteration * 1) / 8;
if (bufferMin < bufferUsage)
continue;
- int32 mixer_size = bufferMin - bufferUsage;
+ int32 mixer_size = bufferMin;
if ((bits == 12) || (bits == 16)) {
if (channels == 1)