[Scummvm-cvs-logs] SF.net SVN: scummvm:[43331] scummvm/branches/gsoc2009-mods/engines/kyra/ sound_amiga.cpp
nolange at users.sourceforge.net
nolange at users.sourceforge.net
Thu Aug 13 01:07:42 CEST 2009
Revision: 43331
http://scummvm.svn.sourceforge.net/scummvm/?rev=43331&view=rev
Author: nolange
Date: 2009-08-12 23:07:41 +0000 (Wed, 12 Aug 2009)
Log Message:
-----------
enable some debug-output
Modified Paths:
--------------
scummvm/branches/gsoc2009-mods/engines/kyra/sound_amiga.cpp
Modified: scummvm/branches/gsoc2009-mods/engines/kyra/sound_amiga.cpp
===================================================================
--- scummvm/branches/gsoc2009-mods/engines/kyra/sound_amiga.cpp 2009-08-12 22:39:48 UTC (rev 43330)
+++ scummvm/branches/gsoc2009-mods/engines/kyra/sound_amiga.cpp 2009-08-12 23:07:41 UTC (rev 43331)
@@ -80,6 +80,7 @@
}
void SoundAmiga::loadSoundFile(uint file) {
+ debug(5, "SoundAmiga: playTrack %d", file);
static const char *const tableFilenames[3][2] = {
{ "introscr.mx", "introinst.mx" },
{ "kyramusic.mx", 0 },
@@ -116,6 +117,7 @@
}
void SoundAmiga::playTrack(uint8 track) {
+ debug(5, "SoundAmiga: playTrack %d", track);
static const byte tempoIntro[6] = { 0x46, 0x55, 0x3C, 0x41, 0x78, 0x50 };
static const byte tempoIngame[23] = {
0x64, 0x64, 0x64, 0x64, 0x64, 0x73, 0x4B, 0x64,
@@ -179,10 +181,12 @@
}
void SoundAmiga::haltTrack() {
+ debug(5, "SoundAmiga: haltTrack");
_driver->stopMusic();
}
void SoundAmiga::beginFadeOut() {
+ debug(5, "SoundAmiga: beginFadeOut");
for (int i = 0x3F; i >= 0; --i) {
_driver->setVolume((byte)i);
_vm->delay(_vm->tickLength());
@@ -194,7 +198,7 @@
}
void SoundAmiga::playSoundEffect(uint8 track) {
- debug("play sfx %d", track);
+ debug(5, "SoundAmiga: playSoundEffect %d", track);
const byte* tableEntry = 0;
bool pan = false;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list