[Scummvm-cvs-logs] CVS: scummvm/bs2/driver d_sound.cpp,1.43,1.44

Torbj?rn Andersson eriktorbjorn at users.sourceforge.net
Fri Sep 5 09:08:06 CEST 2003


Update of /cvsroot/scummvm/scummvm/bs2/driver
In directory sc8-pr-cvs1:/tmp/cvs-serv1949/driver

Modified Files:
	d_sound.cpp 
Log Message:
Added FIXME comment about DipMusic().


Index: d_sound.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/bs2/driver/d_sound.cpp,v
retrieving revision 1.43
retrieving revision 1.44
diff -u -d -r1.43 -r1.44
--- d_sound.cpp	5 Sep 2003 15:56:43 -0000	1.43
+++ d_sound.cpp	5 Sep 2003 16:07:03 -0000	1.44
@@ -1296,15 +1296,18 @@
 				StreamCompMusicFromLock(musFilename[i], musId[i], musLooping[i]);
 		}
 	}
-	DipMusic();
+
+	// FIXME: We need to implement DipMusic()'s functionality, but since
+	// our sound buffer is much shorter than the original's it should be
+	// enough to simply modify the channel volume in this function instead
+	// of using a separate function to modify part of the sound buffer.
+
+	// DipMusic();
 }
 
 int32 Sword2Sound::DipMusic() {
-	// TODO: implement this func
 	// disable this func for now
 	return RD_OK;
-
-	StackLock lock(_mutex);
 
 /*
 	int32				 len;





More information about the Scummvm-git-logs mailing list