[Scummvm-cvs-logs] CVS: tools compress.c,1.2,1.3

Max Horn fingolfin at users.sourceforge.net
Mon Dec 27 06:31:01 CET 2004


Update of /cvsroot/scummvm/tools
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15990

Modified Files:
	compress.c 
Log Message:
Why do we always encode MP3 data to mono? Won't change this for now, as it might require changes in the playback code (not sure if we properly deal with non-mono data right now); and I am not sure where we ever encode stereo data (i.e. I have no testcase to work against)

Index: compress.c
===================================================================
RCS file: /cvsroot/scummvm/tools/compress.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- compress.c	24 Dec 2004 17:25:39 -0000	1.2
+++ compress.c	27 Dec 2004 14:30:37 -0000	1.3
@@ -113,7 +113,8 @@
 		break;
 
 	case kMP3Mode:
-		tmp += sprintf(tmp, "lame -t -m m ");
+		tmp += sprintf(tmp, "lame -t ");
+		tmp += sprintf(tmp, "-m m ");	// FIXME: Why do we always encode to mono?
 		if (rawInput) {
 			tmp += sprintf(tmp, "-r ");
 			tmp += sprintf(tmp, "--bitwidth %d ", rawAudioType.bitsPerSample);





More information about the Scummvm-git-logs mailing list