[Scummvm-cvs-logs] SF.net SVN: scummvm:[48467] scummvm/trunk/sound/decoders/iff_sound.cpp

Kirben at users.sourceforge.net Kirben at users.sourceforge.net
Fri Apr 2 15:12:24 CEST 2010


Revision: 48467
          http://scummvm.svn.sourceforge.net/scummvm/?rev=48467&view=rev
Author:   Kirben
Date:     2010-04-02 13:12:23 +0000 (Fri, 02 Apr 2010)

Log Message:
-----------
Fix bug #2976353 - NIPPON: Sound looping fails (regression). By reverting 47469, since the IFF sound code is only used by the Parallaction game engine.

Modified Paths:
--------------
    scummvm/trunk/sound/decoders/iff_sound.cpp

Modified: scummvm/trunk/sound/decoders/iff_sound.cpp
===================================================================
--- scummvm/trunk/sound/decoders/iff_sound.cpp	2010-04-02 12:59:32 UTC (rev 48466)
+++ scummvm/trunk/sound/decoders/iff_sound.cpp	2010-04-02 13:12:23 UTC (rev 48467)
@@ -114,7 +114,7 @@
 	if (loop) {
 		// the standard way to loop 8SVX audio implies use of the oneShotHiSamples and
 		// repeatHiSamples fields
-		loopStart = loader._header.oneShotHiSamples;
+		loopStart = 0;
 		loopEnd = loader._header.oneShotHiSamples + loader._header.repeatHiSamples;
 
 		if (loopStart != loopEnd) {


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