aboutsummaryrefslogtreecommitdiff
path: root/scumm/imuse_digi
diff options
context:
space:
mode:
authorMax Horn2005-04-08 20:51:34 +0000
committerMax Horn2005-04-08 20:51:34 +0000
commit2787e5aab444eb1bea989affa9021435741762e8 (patch)
tree819780bf8025aa21f592ec9ae21a5c0276b397a4 /scumm/imuse_digi
parent249134ede3a85f09601a962136bbffdae2eed764 (diff)
downloadscummvm-rg350-2787e5aab444eb1bea989affa9021435741762e8.tar.gz
scummvm-rg350-2787e5aab444eb1bea989affa9021435741762e8.tar.bz2
scummvm-rg350-2787e5aab444eb1bea989affa9021435741762e8.zip
Change some iMuseDigital debug messages
svn-id: r17455
Diffstat (limited to 'scumm/imuse_digi')
-rw-r--r--scumm/imuse_digi/dimuse.cpp10
-rw-r--r--scumm/imuse_digi/dimuse_track.cpp2
2 files changed, 6 insertions, 6 deletions
diff --git a/scumm/imuse_digi/dimuse.cpp b/scumm/imuse_digi/dimuse.cpp
index a86afca775..d4f2f18c82 100644
--- a/scumm/imuse_digi/dimuse.cpp
+++ b/scumm/imuse_digi/dimuse.cpp
@@ -379,11 +379,11 @@ void IMuseDigital::switchToNextRegion(Track *track) {
Track *fadeTrack = cloneToFadeOutTrack(track, fadeDelay);
fadeTrack->dataOffset = _sound->getRegionOffset(fadeTrack->soundHandle, fadeTrack->curRegion);
fadeTrack->regionOffset = 0;
- debug(5, "switchToNextRegion-sound(%d) select %d region, curHookId: %d", fadeTrack->soundId, fadeTrack->curRegion, fadeTrack->curHookId);
+ debug(5, "switchToNextRegion-sound(%d) select region %d, curHookId: %d", fadeTrack->soundId, fadeTrack->curRegion, fadeTrack->curHookId);
fadeTrack->curHookId = 0;
}
track->curRegion = region;
- debug(5, "switchToNextRegion-sound(%d) jump to %d region, curHookId: %d", track->soundId, track->curRegion, track->curHookId);
+ debug(5, "switchToNextRegion-sound(%d) jump to region %d, curHookId: %d", track->soundId, track->curRegion, track->curHookId);
track->curHookId = 0;
}
} else {
@@ -391,14 +391,14 @@ void IMuseDigital::switchToNextRegion(Track *track) {
Track *fadeTrack = cloneToFadeOutTrack(track, fadeDelay);
fadeTrack->dataOffset = _sound->getRegionOffset(fadeTrack->soundHandle, fadeTrack->curRegion);
fadeTrack->regionOffset = 0;
- debug(5, "switchToNextRegion-sound(%d) select %d region, curHookId: %d", fadeTrack->soundId, fadeTrack->curRegion, fadeTrack->curHookId);
+ debug(5, "switchToNextRegion-sound(%d) select region %d, curHookId: %d", fadeTrack->soundId, fadeTrack->curRegion, fadeTrack->curHookId);
}
track->curRegion = region;
- debug(5, "switchToNextRegion-sound(%d) jump to %d region, curHookId: %d", track->soundId, track->curRegion, track->curHookId);
+ debug(5, "switchToNextRegion-sound(%d) jump to region %d, curHookId: %d", track->soundId, track->curRegion, track->curHookId);
}
}
- debug(5, "switchToNextRegion-sound(%d) select %d region, curHookId: %d", track->soundId, track->curRegion, track->curHookId);
+ debug(5, "switchToNextRegion-sound(%d) select region %d, curHookId: %d", track->soundId, track->curRegion, track->curHookId);
track->dataOffset = _sound->getRegionOffset(soundHandle, track->curRegion);
track->regionOffset = 0;
}
diff --git a/scumm/imuse_digi/dimuse_track.cpp b/scumm/imuse_digi/dimuse_track.cpp
index ab80e92db2..06a03e6227 100644
--- a/scumm/imuse_digi/dimuse_track.cpp
+++ b/scumm/imuse_digi/dimuse_track.cpp
@@ -310,7 +310,7 @@ IMuseDigital::Track *IMuseDigital::cloneToFadeOutTrack(Track *track, int fadeDel
}
}
if (fadeTrack == 0)
- error("IMuseDigital::cloneTofadeTrackId() Can't find free fade track");
+ error("IMuseDigital::cloneToFadeOutTrack() Can't find free fade track");
fadeTrack->pan = track->pan;
fadeTrack->vol = track->vol;