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

Kirben at users.sourceforge.net Kirben at users.sourceforge.net
Tue Jun 26 05:25:21 CEST 2007


Revision: 27722
          http://scummvm.svn.sourceforge.net/scummvm/?rev=27722&view=rev
Author:   Kirben
Date:     2007-06-25 20:25:21 -0700 (Mon, 25 Jun 2007)

Log Message:
-----------
Add '--best -b 1152' to default settings, when encoding with FLAC, as they offer best compression in all games.

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

Modified: tools/trunk/compress.c
===================================================================
--- tools/trunk/compress.c	2007-06-26 03:08:03 UTC (rev 27721)
+++ tools/trunk/compress.c	2007-06-26 03:25:21 UTC (rev 27722)
@@ -41,11 +41,7 @@
 
 /* FIXME: This is an evil way to pass on the params to FLAC.
  It makes it near impossible to reliably pass default params to the
- encoder, which is why the ScummVM README has to tell the user to
- use this command:
-   extract --best -b 1152 monster.sou
- If those are the best default options, then they should be *default*
- and the user shouldn't have to specify them.
+ encoder.
 */
 typedef struct {
 	char * const* argv;
@@ -174,7 +170,7 @@
 	case kFlacMode:
 		/* --lax is needed to allow 11kHz, we dont need place for meta-tags, and no seektable */
 		/* -f is reqired to force override of unremoved temp file. See bug #1294648 */
-		tmp += sprintf(tmp, "flac -f --lax --no-padding --no-seektable --no-ogg " );
+		tmp += sprintf(tmp, "flac --best -b 1152 -f --lax --no-padding --no-seektable --no-ogg ");
 
 		if (rawInput) {
 			tmp += sprintf(tmp, "--force-raw-format --sign=unsigned ");


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