connect(lame, SIGNAL(readyReadStandardOutput()), this, SLOT(lameDataAvailable()));
connect(lame, SIGNAL(readyReadStandardError()), this, SLOT(lameErrorAvailable()));
connect(lame,
SIGNAL(finished
(int,
QProcess::ExitStatus)),
this,
SLOT(lameFinished
(int,
QProcess::ExitStatus)));
QString tmp
= "lame \"-b 112\" \"-m j\" -f \"-V 2\" \"-B 320\" \"" + inFile
+ "\" \"" + outFile
+ "\"";
lame->start(tmp);
QProcess * lame = new QProcess(this);
connect(lame, SIGNAL(readyReadStandardOutput()), this, SLOT(lameDataAvailable()));
connect(lame, SIGNAL(readyReadStandardError()), this, SLOT(lameErrorAvailable()));
connect(lame, SIGNAL(finished(int, QProcess::ExitStatus)), this, SLOT(lameFinished(int, QProcess::ExitStatus)));
QString tmp = "lame \"-b 112\" \"-m j\" -f \"-V 2\" \"-B 320\" \"" + inFile + "\" \"" + outFile + "\"";
lame->start(tmp);
To copy to clipboard, switch view to plain text mode
lame reports this...
Bookmarks