[Scummvm-cvs-logs] CVS: scummvm/sword1 music.cpp,1.13,1.14

Max Horn fingolfin at users.sourceforge.net
Sat Jan 3 12:43:06 CET 2004


Update of /cvsroot/scummvm/scummvm/sword1
In directory sc8-pr-cvs1:/tmp/cvs-serv11396

Modified Files:
	music.cpp 
Log Message:
TODO

Index: music.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sword1/music.cpp,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- music.cpp	3 Jan 2004 11:12:35 -0000	1.13
+++ music.cpp	3 Jan 2004 20:42:18 -0000	1.14
@@ -52,6 +52,8 @@
 }
 
 int SwordMusicHandle::readBuffer(int16 *buffer, const int numSamples) {
+	// TODO: merge the read() code into readBuffer(), for higher efficency;
+	// we then can remove read() (as it isn't needed for anything anymore).
 	int samples;
 	for (samples = 0; samples < numSamples && !endOfData(); samples++)
 		*buffer++ = read();





More information about the Scummvm-git-logs mailing list