Mit der
Lame.exe kann man mp3-Dateien aber auch direkt "encodieren".
Delphi-Quellcode:
ShellExecute(Application.Handle,'
open',PChar( ExtractFilePath(ParamStr(0)) +'
lame.exe'),
PChar('
--silent -h -b 96 "C:\Source.mp3" "C:\Dest.mp3"'),
Nil, SW_HIDE);
// "-h"=high Quality ; "-b 96"=Bitrate 96kbps ; ("--resample 44.1"=sample rate 44100Hz) see "lame-3.97/html/switchs.html"