aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorPaweł Kołodziejski2003-12-25 15:46:07 +0000
committerPaweł Kołodziejski2003-12-25 15:46:07 +0000
commitbd4ac34b1d98b2628361d3274c841312137a4390 (patch)
tree34b2ccf3991857d9b857bb3f8b0e68923f8af82f /scumm
parent505914754fc6daffbc49b00d5c2564e0b6773f84 (diff)
downloadscummvm-rg350-bd4ac34b1d98b2628361d3274c841312137a4390.tar.gz
scummvm-rg350-bd4ac34b1d98b2628361d3274c841312137a4390.tar.bz2
scummvm-rg350-bd4ac34b1d98b2628361d3274c841312137a4390.zip
cleanup
svn-id: r11914
Diffstat (limited to 'scumm')
-rw-r--r--scumm/imuse_digi.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/scumm/imuse_digi.cpp b/scumm/imuse_digi.cpp
index 2eaaf4739f..045da7ff2c 100644
--- a/scumm/imuse_digi.cpp
+++ b/scumm/imuse_digi.cpp
@@ -751,9 +751,8 @@ void IMuseDigital::callback() {
for (l = 0; l < MAX_DIGITAL_CHANNELS;l ++) {
if (_channel[l].used) {
if (_channel[l].toBeRemoved) {
+ debug(5, "IMuseDigital::callback(): stoped sound: %d", _channel[l].idSound);
_scumm->_mixer->endStream(_channel[l].handle);
- debug(5, "IMuseDigital::mixerCallback(): stop sound: %d", _channel[l].idSound);
-
free(_channel[l].data);
_channel[l].used = false;
continue;
@@ -1044,7 +1043,7 @@ void IMuseDigital::parseScriptCmds(int a, int b, int c, int d, int e, int f, int
case 14: // ImuseFadeParam
switch (sub_cmd) {
case 0x600: // set new volume with fading
- debug(0, "ImuseFadeParam - fade sample(%d), to volume(%d) with 60hz ticks(%d)", sample, d, e);
+ debug(5, "ImuseFadeParam - fade sample(%d), to volume(%d) with 60hz ticks(%d)", sample, d, e);
if ((_scumm->_gameId == GID_DIG) && (_scumm->_features & GF_DEMO)) {
stopSound(sample);
return;