[Scummvm-cvs-logs] SF.net SVN: scummvm: [28628] scummvm/trunk/engines/agi/sound.cpp

buddha_ at users.sourceforge.net buddha_ at users.sourceforge.net
Wed Aug 15 18:46:38 CEST 2007


Revision: 28628
          http://scummvm.svn.sourceforge.net/scummvm/?rev=28628&view=rev
Author:   buddha_
Date:     2007-08-15 09:46:37 -0700 (Wed, 15 Aug 2007)

Log Message:
-----------
Removed unneeded code from inside #if 0 ... #endif -clauses.

Modified Paths:
--------------
    scummvm/trunk/engines/agi/sound.cpp

Modified: scummvm/trunk/engines/agi/sound.cpp
===================================================================
--- scummvm/trunk/engines/agi/sound.cpp	2007-08-15 16:44:13 UTC (rev 28627)
+++ scummvm/trunk/engines/agi/sound.cpp	2007-08-15 16:46:37 UTC (rev 28628)
@@ -294,15 +294,6 @@
 	1448, 1534, 1625, 1722, 1825, 1933
 };
 
-#if 0
-static struct AgiNote playSample[] = {
-	{0xff, 0x7f, 0x18, 0x00, 0x7f},
-	{0xff, 0xff, 0x00, 0x00, 0x00},
-	{0xff, 0xff, 0x00, 0x00, 0x00},
-	{0xff, 0xff, 0x00, 0x00, 0x00}
-};
-#endif
-
 static int noteToPeriod(int note) {
 	return 10 * (period[note % 12] >> (note / 12 - 3));
 }
@@ -322,9 +313,6 @@
 
 void SoundMgr::startSound(int resnum, int flag) {
 	int i, type;
-#if 0
-	struct SoundIIgsSample *smp;
-#endif
 
 	if (_vm->_game.sounds[resnum].isPlaying())
 		return;
@@ -704,12 +692,6 @@
 	return BUFFER_SIZE;
 }
 
-#if 0
-void Sound::unloadInstruments() {
-	free(instruments);
-}
-#endif
-
 /**
  * Finds information about an Apple IIGS AGI executable based on the game ID.
  * @return A non-null IIgsExeInfo pointer if successful, otherwise NULL.


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