[Scummvm-cvs-logs] CVS: scummvm/scumm sound.cpp,1.230,1.231
Travis Howell
kirben at users.sourceforge.net
Fri Sep 5 20:06:01 CEST 2003
Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1:/tmp/cvs-serv26420/scumm
Modified Files:
sound.cpp
Log Message:
zak256 partial sfx loops are working fine.
Index: sound.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/sound.cpp,v
retrieving revision 1.230
retrieving revision 1.231
diff -u -d -r1.230 -r1.231
--- sound.cpp 6 Sep 2003 02:27:03 -0000 1.230
+++ sound.cpp 6 Sep 2003 03:05:01 -0000 1.231
@@ -353,13 +353,8 @@
}
size -= waveSize;
- if (loopEnd > 0) {
+ if (loopEnd > 0)
flags |= SoundMixer::FLAG_LOOP;
- if ((loopEnd < waveSize) || (loopStart > 0)) {
- // 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, 255, 0, loopStart, loopEnd);
}
More information about the Scummvm-git-logs
mailing list