[Scummvm-cvs-logs] SF.net SVN: scummvm: [23490] tools/trunk/compress_sword2.c

eriktorbjorn at users.sourceforge.net eriktorbjorn at users.sourceforge.net
Thu Jul 20 22:45:01 CEST 2006


Revision: 23490
          http://svn.sourceforge.net/scummvm/?rev=23490&view=rev
Author:   eriktorbjorn
Date:     2006-07-11 13:58:12 -0700 (Tue, 11 Jul 2006)

Log Message:
-----------
Updated outdated comment.

Modified Paths:
--------------
    tools/trunk/compress_sword2.c

Modified: tools/trunk/compress_sword2.c
===================================================================
--- tools/trunk/compress_sword2.c	2006-07-11 16:55:56 UTC (rev 23489)
+++ tools/trunk/compress_sword2.c	2006-07-11 20:58:12 UTC (rev 23490)
@@ -223,10 +223,9 @@
 			length--;
 
 			/*
-			 * Our encoding function assumes that raw data means
-			 * 8-bit data. Rather than going through the trouble of
-			 * adding support for 16-bit data at various byte
-			 * orders, let's just prepend a simple WAV header.
+			 * Back when this tool was written, encodeAudio() had
+			 * no way of encoding 16-bit data, so it was simpler to
+			 * output a WAV file.
 			 */
 
 			writeUint32BE(f, 0x52494646);	/* "RIFF" */






More information about the Scummvm-git-logs mailing list