[Scummvm-cvs-logs] CVS: tools extract.c,1.20,1.21

Travis Howell kirben at users.sourceforge.net
Sat Sep 6 04:20:05 CEST 2003


Update of /cvsroot/scummvm/tools
In directory sc8-pr-cvs1:/tmp/cvs-serv26017

Modified Files:
	extract.c 
Log Message:

Don't resample sounds in FOA with extract, patch #788860 


Index: extract.c
===================================================================
RCS file: /cvsroot/scummvm/tools/extract.c,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -d -r1.20 -r1.21
--- extract.c	12 Aug 2003 14:59:06 -0000	1.20
+++ extract.c	6 Sep 2003 11:19:25 -0000	1.21
@@ -273,9 +273,6 @@
 				strcat(fbuf, "--quiet ");
 			}
 
-			if (real_samplerate != 22050)
-				strcat(fbuf, "--resample 22050 ");
-
 			sprintf(fbuf_temp, "-q %i -r -C 1 --raw-endianness=1 -R %i %s -o %s",
 				oggparms.quality, real_samplerate,
 				rawname, mp3name);
@@ -290,7 +287,7 @@
 			if (encparms.silent == 1)
 				strcat(fbuf_temp," --silent");
 			sprintf(fbuf,
-				"lame -t -q %i %s -V %i -B %i --resample 22.05 -m m -r -s %d %s %s",
+				"lame -t -q %i %s -V %i -B %i -m m -r -s %d %s %s",
 				encparms.algqual, fbuf_temp, encparms.vbrqual,
 				encparms.maxBitr, real_samplerate, rawname, mp3name);
 			system(fbuf);





More information about the Scummvm-git-logs mailing list