aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaweł Kołodziejski2003-03-30 16:54:03 +0000
committerPaweł Kołodziejski2003-03-30 16:54:03 +0000
commit7edc0abd5b8ac160133e4e9db0b73d966f084553 (patch)
tree65ec68f6c3a2e1e7776637e5f9a4b06188aaeb96
parentee7ca9e8914b1bcfa45b7981d16ff5bfc14850db (diff)
downloadscummvm-rg350-7edc0abd5b8ac160133e4e9db0b73d966f084553.tar.gz
scummvm-rg350-7edc0abd5b8ac160133e4e9db0b73d966f084553.tar.bz2
scummvm-rg350-7edc0abd5b8ac160133e4e9db0b73d966f084553.zip
changed messages from warning to debug
svn-id: r6888
-rw-r--r--scumm/imuse_digi.cpp2
-rw-r--r--sound/mixer.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/scumm/imuse_digi.cpp b/scumm/imuse_digi.cpp
index bee5d06dc4..adcfbde678 100644
--- a/scumm/imuse_digi.cpp
+++ b/scumm/imuse_digi.cpp
@@ -1031,7 +1031,7 @@ int32 IMuseDigital::doCommand(int a, int b, int c, int d, int e, int f, int g, i
tmp /= 2;
}
_channel[chan]._volumeFadeStep = tmp;
- printf("volumeFade is %d, step is %d\n", d, tmp);
+ debug(2, "volumeFade is %d, step is %d\n", d, tmp);
return 0;
default:
diff --git a/sound/mixer.cpp b/sound/mixer.cpp
index e518233c76..1d4ebde0b8 100644
--- a/sound/mixer.cpp
+++ b/sound/mixer.cpp
@@ -653,14 +653,14 @@ void SoundMixer::ChannelStream::append(void *data, uint32 len) {
uint32 new_size = len - size_to_end_of_buffer;
new_end = _ptr + new_size;
if ((_endOfData < cur_pos) || (new_end >= cur_pos)) {
- warning("Mixer full... Trying to not break too much ");
+ debug(2, "Mixer full... Trying to not break too much ");
return;
}
memcpy(_endOfData, (byte*)data, size_to_end_of_buffer);
memcpy(_ptr, (byte *)data + size_to_end_of_buffer, new_size);
} else {
if ((_endOfData < cur_pos) && (new_end >= cur_pos)) {
- warning("Mixer full... Trying to not break too much ");
+ debug(2, "Mixer full... Trying to not break too much ");
return;
}
memcpy(_endOfData, data, len);