[Scummvm-cvs-logs] SF.net SVN: scummvm: [30118] scummvm/trunk/engines/scumm/imuse_digi/ dimuse_music.cpp

aquadran at users.sourceforge.net aquadran at users.sourceforge.net
Tue Jan 1 16:08:21 CET 2008


Revision: 30118
          http://scummvm.svn.sourceforge.net/scummvm/?rev=30118&view=rev
Author:   aquadran
Date:     2008-01-01 07:08:20 -0800 (Tue, 01 Jan 2008)

Log Message:
-----------
experimental change to fade out to 120 ms instead from table for state music with opcode 3 when few songs have the same attribute value

Modified Paths:
--------------
    scummvm/trunk/engines/scumm/imuse_digi/dimuse_music.cpp

Modified: scummvm/trunk/engines/scumm/imuse_digi/dimuse_music.cpp
===================================================================
--- scummvm/trunk/engines/scumm/imuse_digi/dimuse_music.cpp	2008-01-01 15:05:27 UTC (rev 30117)
+++ scummvm/trunk/engines/scumm/imuse_digi/dimuse_music.cpp	2008-01-01 15:08:20 UTC (rev 30118)
@@ -318,13 +318,15 @@
 				fadeOutMusic(60);
 				return;
 			}
-			fadeOutMusic(table->fadeOutDelay);
 			if ((!sequence) && (table->attribPos != 0) &&
 					(table->attribPos == _comiStateMusicTable[_curMusicState].attribPos)) {
+				fadeOutMusic(120); // expiremental fadeDelay 120 instead from table
 				startMusic(table->filename, table->soundId, 0, 127);
 			} else if (table->transitionType == 12) {
+				fadeOutMusic(table->fadeOutDelay);
 				startMusic(table->filename, table->soundId, table->hookId, 127);
 			} else {
+				fadeOutMusic(table->fadeOutDelay);
 				startMusic(table->filename, table->soundId, hookId, 127);
 			}
 			break;


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