[Scummvm-cvs-logs] CVS: scummvm/scumm imuse_digi.cpp,1.80,1.81

Pawel Kolodziejski aquadran at users.sourceforge.net
Thu Dec 25 07:47:00 CET 2003


Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1:/tmp/cvs-serv23625

Modified Files:
	imuse_digi.cpp 
Log Message:
cleanup

Index: imuse_digi.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/imuse_digi.cpp,v
retrieving revision 1.80
retrieving revision 1.81
diff -u -d -r1.80 -r1.81
--- imuse_digi.cpp	25 Dec 2003 15:27:19 -0000	1.80
+++ imuse_digi.cpp	25 Dec 2003 15:46:07 -0000	1.81
@@ -751,9 +751,8 @@
 	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 @@
 	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;





More information about the Scummvm-git-logs mailing list