[Scummvm-cvs-logs] CVS: scummvm/scumm sound.cpp,1.190,1.191

Max Horn fingolfin at users.sourceforge.net
Fri Aug 1 06:08:06 CEST 2003


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

Modified Files:
	sound.cpp 
Log Message:
enable partial looping: However this is *completely* untested since I have no clue where this feature is used, so i can't test it... if somebody tells me where this occurs, I can fix it, if it's not working already

Index: sound.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/sound.cpp,v
retrieving revision 1.190
retrieving revision 1.191
diff -u -d -r1.190 -r1.191
--- sound.cpp	31 Jul 2003 20:24:09 -0000	1.190
+++ sound.cpp	1 Aug 2003 12:50:19 -0000	1.191
@@ -418,12 +418,12 @@
 						if (loopEnd > 0) {
 							flags |= SoundMixer::FLAG_LOOP;
 							if ((loopEnd < waveSize) || (loopStart > 0)) {
-								// FIXME: Implement partial loops
-								warning("Partial loops not implemented. Loop at 0x%X thru 0x%X", loopStart, loopEnd);
+								// FIXME: Test partial loops
+								warning("Partial loops now are implemented. Loop at 0x%X thru 0x%X - does it sound right?", loopStart, loopEnd);
 							}
 						}
 
-						_scumm->_mixer->playRaw(NULL, sound, waveSize, rate, flags, soundID);
+						_scumm->_mixer->playRaw(NULL, sound, waveSize, rate, flags, soundID, loopStart, loopEnd);
 					}
 					break;
 				}





More information about the Scummvm-git-logs mailing list