diff -ur ScummVM-cvs20030813/tools/extract.c ScummVM-cvs20030813+hack/tools/extract.c
old
|
new
|
|
273 | 273 | strcat(fbuf, "--quiet "); |
274 | 274 | } |
275 | 275 | |
276 | | if (real_samplerate != 22050) |
277 | | strcat(fbuf, "--resample 22050 "); |
278 | | |
279 | 276 | sprintf(fbuf_temp, "-q %i -r -C 1 --raw-endianness=1 -R %i %s -o %s", |
280 | 277 | oggparms.quality, real_samplerate, |
281 | 278 | rawname, mp3name); |
… |
… |
|
290 | 287 | if (encparms.silent == 1) |
291 | 288 | strcat(fbuf_temp," --silent"); |
292 | 289 | sprintf(fbuf, |
293 | | "lame -t -q %i %s -V %i -B %i --resample 22.05 -m m -r -s %d %s %s", |
| 290 | "lame -t -q %i %s -V %i -B %i -m m -r -s %d %s %s", |
294 | 291 | encparms.algqual, fbuf_temp, encparms.vbrqual, |
295 | 292 | encparms.maxBitr, real_samplerate, rawname, mp3name); |
296 | 293 | system(fbuf); |
diff -ur ScummVM-cvs20030813/tools/simon2mp3.c ScummVM-cvs20030813+hack/tools/simon2mp3.c
old
|
new
|
|
270 | 270 | if (oggparms.silent) { |
271 | 271 | strcat(fbuf, "--quiet "); |
272 | 272 | } |
273 | | sprintf(fbuf_temp, "-q %i --resample 22050 %s -o %s", |
274 | | oggparms.quality, wavname, mp3name); |
275 | 273 | strcat(fbuf, fbuf_temp); |
276 | 274 | system(fbuf); |
277 | 275 | } else { |
… |
… |
|
282 | 280 | if (encparms.silent == 1) |
283 | 281 | strcat(fbuf_temp," --silent"); |
284 | 282 | sprintf(fbuf, |
285 | | "lame -t -q %i %s -V %i -B %i --resample 22.05 -m m %s %s", |
| 283 | "lame -t -q %i %s -V %i -B %i -m m %s %s", |
286 | 284 | encparms.algqual, fbuf_temp, encparms.vbrqual, |
287 | 285 | encparms.maxBitr, wavname, mp3name); |
288 | 286 | system(fbuf); |
… |
… |
|
374 | 372 | if (oggparms.silent) { |
375 | 373 | strcat(fbuf, "--quiet "); |
376 | 374 | } |
377 | | sprintf(fbuf_temp, "-q %i -r -C 1 --raw-endianness=1 -R %i --resample 22050 %s -o %s", |
| 375 | sprintf(fbuf_temp, "-q %i -r -C 1 --raw-endianness=1 -R %i %s -o %s", |
378 | 376 | oggparms.quality, real_samplerate, |
379 | 377 | rawname, mp3name); |
380 | 378 | strcat(fbuf, fbuf_temp); |
… |
… |
|
388 | 386 | if (encparms.silent == 1) |
389 | 387 | strcat(fbuf_temp," --silent"); |
390 | 388 | sprintf(fbuf, |
391 | | "lame -t -q %i %s -V %i -B %i --resample 22.05 -m m -r -s %d %s %s", |
| 389 | "lame -t -q %i %s -V %i -B %i -m m -r -s %d %s %s", |
392 | 390 | encparms.algqual, fbuf_temp, encparms.vbrqual, |
393 | 391 | encparms.maxBitr, real_samplerate, rawname, mp3name); |
394 | 392 | system(fbuf); |