OSDN Git Service

Updated documents.
[lamexp/LameXP.git] / src / Encoder_DCA.cpp
index 516b825..f70745e 100644 (file)
@@ -1,6 +1,6 @@
 ///////////////////////////////////////////////////////////////////////////////
 // LameXP - Audio Encoder Front-End
-// Copyright (C) 2004-2011 LoRd_MuldeR <MuldeR2@GMX.de>
+// Copyright (C) 2004-2012 LoRd_MuldeR <MuldeR2@GMX.de>
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
@@ -49,9 +49,9 @@ bool DCAEncoder::encode(const QString &sourceFile, const AudioFileModel &metaInf
 
        int bitrate = qBound(32, m_configBitrate * 32, 6144);
 
-       args << QDir::toNativeSeparators(sourceFile);
-       args << QDir::toNativeSeparators(outputFile);
-       args << QString::number(bitrate);
+       args << "-i" << QDir::toNativeSeparators(sourceFile);
+       args << "-o" << QDir::toNativeSeparators(outputFile);
+       args << "-b" << QString::number(bitrate);
 
        if(!startProcess(process, m_binary, args))
        {