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

mthreepwood at users.sourceforge.net mthreepwood at users.sourceforge.net
Mon Jul 26 20:18:25 CEST 2010


Revision: 51328
          http://scummvm.svn.sourceforge.net/scummvm/?rev=51328&view=rev
Author:   mthreepwood
Date:     2010-07-26 18:18:25 +0000 (Mon, 26 Jul 2010)

Log Message:
-----------
SOUND: The rate in Mac snd's is fixed, not floating point (fix the comment)

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

Modified: scummvm/trunk/sound/decoders/mac_snd.cpp
===================================================================
--- scummvm/trunk/sound/decoders/mac_snd.cpp	2010-07-26 18:13:35 UTC (rev 51327)
+++ scummvm/trunk/sound/decoders/mac_snd.cpp	2010-07-26 18:18:25 UTC (rev 51328)
@@ -88,7 +88,7 @@
 
 	uint32 soundDataOffset = stream->readUint32BE();
 	uint32 size = stream->readUint32BE();
-	uint16 rate = stream->readUint32BE() >> 16; // Really floating point, but we only support integer rates
+	uint16 rate = stream->readUint32BE() >> 16; // Really fixed point, but we only support integer rates
 	stream->readUint32BE(); // loop start
 	stream->readUint32BE(); // loop end
 	byte encoding = stream->readByte();


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