aboutsummaryrefslogtreecommitdiff
path: root/scumm/sound.cpp
diff options
context:
space:
mode:
authorJames Brown2004-01-10 11:01:47 +0000
committerJames Brown2004-01-10 11:01:47 +0000
commitc4528ac022d13fde66a4d494110da4e97d2660c0 (patch)
tree7333045950dfebd54635d5fd13ee0f228c793cf7 /scumm/sound.cpp
parent158acbb70c49a7bdbf721c928e8b2ad353d2a52b (diff)
downloadscummvm-rg350-c4528ac022d13fde66a4d494110da4e97d2660c0.tar.gz
scummvm-rg350-c4528ac022d13fde66a4d494110da4e97d2660c0.tar.bz2
scummvm-rg350-c4528ac022d13fde66a4d494110da4e97d2660c0.zip
More conversion to debug channels
svn-id: r12293
Diffstat (limited to 'scumm/sound.cpp')
-rw-r--r--scumm/sound.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/scumm/sound.cpp b/scumm/sound.cpp
index 110a3dc262..36d290fbd6 100644
--- a/scumm/sound.cpp
+++ b/scumm/sound.cpp
@@ -101,7 +101,7 @@ void Sound::processSoundQues() {
data[j] = _soundQue[i + j];
i += num;
- debug(5, "processSoundQues(%d,%d,%d,%d,%d,%d,%d,%d,%d)",
+ debugC(DEBUG_IMUSE, "processSoundQues(%d,%d,%d,%d,%d,%d,%d,%d,%d)",
data[0] >> 8, data[0] & 0xFF,
data[1], data[2], data[3], data[4], data[5], data[6], data[7]);
@@ -120,7 +120,9 @@ void Sound::playSound(int soundID) {
int rate;
byte flags = SoundMixer::FLAG_UNSIGNED | SoundMixer::FLAG_AUTOFREE;
- debug(3, "playSound #%d (room %d)", soundID, _vm->getResourceRoomNr(rtSound, soundID));
+ debugC(DEBUG_SOUND, "playSound #%d (room %d)", soundID,
+ _vm->getResourceRoomNr(rtSound, soundID));
+
ptr = _vm->getResourceAddress(rtSound, soundID);
if (!ptr) {
return;