[Scummvm-cvs-logs] CVS: tools simon2mp3.c,1.11,1.12

Travis Howell kirben at users.sourceforge.net
Sat Sep 6 04:17:02 CEST 2003


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

Modified Files:
	simon2mp3.c 
Log Message:

Don't resample sounds in simon2 with simon2mp3, patch #788860 


Index: simon2mp3.c
===================================================================
RCS file: /cvsroot/scummvm/tools/simon2mp3.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- simon2mp3.c	13 Apr 2003 14:23:05 -0000	1.11
+++ simon2mp3.c	6 Sep 2003 11:16:18 -0000	1.12
@@ -270,8 +270,6 @@
 		if (oggparms.silent) {
 			strcat(fbuf, "--quiet ");
 		}
-		sprintf(fbuf_temp, "-q %i --resample 22050 %s -o %s",
-			oggparms.quality, wavname, mp3name);
 		strcat(fbuf, fbuf_temp);
 		system(fbuf);
 	} else {
@@ -282,7 +280,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 %s %s",
+			"lame -t -q %i %s -V %i -B %i -m m %s %s",
 			encparms.algqual, fbuf_temp, encparms.vbrqual,
 			encparms.maxBitr, wavname, mp3name);
 		system(fbuf);
@@ -374,7 +372,7 @@
 			if (oggparms.silent) {
 				strcat(fbuf, "--quiet ");
 			}
-			sprintf(fbuf_temp, "-q %i -r -C 1 --raw-endianness=1 -R %i --resample 22050 %s -o %s",
+			sprintf(fbuf_temp, "-q %i -r -C 1 --raw-endianness=1 -R %i %s -o %s",
 				oggparms.quality, real_samplerate,
 				rawname, mp3name);
 			strcat(fbuf, fbuf_temp);
@@ -388,7 +386,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