The "Algorithm Quality" slider now also effects the QAAC encoder.
This commit is contained in:
parent
21b3fd0a16
commit
83243ff8c5
@ -86,6 +86,7 @@
|
|||||||
<ul>
|
<ul>
|
||||||
<li>Fixed the location of temporary intermediate files for SoX-based audio effects</li>
|
<li>Fixed the location of temporary intermediate files for SoX-based audio effects</li>
|
||||||
<li>Enabled the "built-in" resampler for QAAC encoder</li>
|
<li>Enabled the "built-in" resampler for QAAC encoder</li>
|
||||||
|
<li>The "Algorithm Quality" slider now also effects the QAAC encoder</li>
|
||||||
<li>Updated MediaInfo to v0.7.82 (2016-01-27), compiled with ICL 15.0 and MSVC 12.0</li>
|
<li>Updated MediaInfo to v0.7.82 (2016-01-27), compiled with ICL 15.0 and MSVC 12.0</li>
|
||||||
<li>Updated QAAC add-in to the to QAAC v2.58 (2016-01-05)</li>
|
<li>Updated QAAC add-in to the to QAAC v2.58 (2016-01-05)</li>
|
||||||
<li>Updated ALAC decoder to refalac v1.58 (2016-01-05)</li>
|
<li>Updated ALAC decoder to refalac v1.58 (2016-01-05)</li>
|
||||||
|
@ -6,6 +6,7 @@
|
|||||||
|
|
||||||
* Fixed the location of temporary intermediate files for SoX-based audio effects
|
* Fixed the location of temporary intermediate files for SoX-based audio effects
|
||||||
* Enabled the "built-in" resampler for QAAC encoder
|
* Enabled the "built-in" resampler for QAAC encoder
|
||||||
|
* The "Algorithm Quality" slider now also effects the QAAC encoder
|
||||||
* Updated MediaInfo to v0.7.82 (2016-01-27), compiled with ICL 15.0 and MSVC 12.0
|
* Updated MediaInfo to v0.7.82 (2016-01-27), compiled with ICL 15.0 and MSVC 12.0
|
||||||
* Updated QAAC add-in to the to QAAC v2.58 (2016-01-05)
|
* Updated QAAC add-in to the to QAAC v2.58 (2016-01-05)
|
||||||
* Updated ALAC decoder to refalac v1.58 (2016-01-05)
|
* Updated ALAC decoder to refalac v1.58 (2016-01-05)
|
||||||
|
@ -35,7 +35,7 @@
|
|||||||
#define VER_LAMEXP_MINOR_LO 4
|
#define VER_LAMEXP_MINOR_LO 4
|
||||||
#define VER_LAMEXP_TYPE Alpha
|
#define VER_LAMEXP_TYPE Alpha
|
||||||
#define VER_LAMEXP_PATCH 2
|
#define VER_LAMEXP_PATCH 2
|
||||||
#define VER_LAMEXP_BUILD 1861
|
#define VER_LAMEXP_BUILD 1862
|
||||||
#define VER_LAMEXP_CONFG 1818
|
#define VER_LAMEXP_CONFG 1818
|
||||||
|
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
@ -150,6 +150,7 @@ QAACEncoder::QAACEncoder(void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
m_configProfile = 0;
|
m_configProfile = 0;
|
||||||
|
m_algorithmQuality = 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
QAACEncoder::~QAACEncoder(void)
|
QAACEncoder::~QAACEncoder(void)
|
||||||
@ -194,6 +195,7 @@ bool QAACEncoder::encode(const QString &sourceFile, const AudioFileModel_MetaInf
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
args << "--quality" << QString::number(qBound(0, m_algorithmQuality, 2));
|
||||||
if (m_configSamplingRate > 0)
|
if (m_configSamplingRate > 0)
|
||||||
{
|
{
|
||||||
args << QString("--native-resampler=bats,%0").arg(QString::number(RESAMPLING_QUALITY));
|
args << QString("--native-resampler=bats,%0").arg(QString::number(RESAMPLING_QUALITY));
|
||||||
@ -301,6 +303,11 @@ void QAACEncoder::setProfile(int profile)
|
|||||||
m_configProfile = profile;
|
m_configProfile = profile;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void QAACEncoder::setAlgoQuality(int value)
|
||||||
|
{
|
||||||
|
m_algorithmQuality = qBound(0, value, 2);
|
||||||
|
}
|
||||||
|
|
||||||
const AbstractEncoderInfo *QAACEncoder::getEncoderInfo(void)
|
const AbstractEncoderInfo *QAACEncoder::getEncoderInfo(void)
|
||||||
{
|
{
|
||||||
return &g_qaacEncoderInfo;
|
return &g_qaacEncoderInfo;
|
||||||
|
@ -39,6 +39,7 @@ public:
|
|||||||
|
|
||||||
//Advanced options
|
//Advanced options
|
||||||
virtual void setProfile(int profile);
|
virtual void setProfile(int profile);
|
||||||
|
virtual void setAlgoQuality(int value);
|
||||||
|
|
||||||
//Encoder info
|
//Encoder info
|
||||||
virtual const AbstractEncoderInfo *toEncoderInfo(void) const { return getEncoderInfo(); }
|
virtual const AbstractEncoderInfo *toEncoderInfo(void) const { return getEncoderInfo(); }
|
||||||
@ -48,4 +49,5 @@ private:
|
|||||||
const QString m_binary_qaac32;
|
const QString m_binary_qaac32;
|
||||||
const QString m_binary_qaac64;
|
const QString m_binary_qaac64;
|
||||||
int m_configProfile;
|
int m_configProfile;
|
||||||
|
int m_algorithmQuality;
|
||||||
};
|
};
|
||||||
|
@ -86,6 +86,7 @@ AbstractEncoder *EncoderRegistry::createInstance(const int encoderId, const Sett
|
|||||||
{
|
{
|
||||||
QAACEncoder *const aacEncoder = new QAACEncoder();
|
QAACEncoder *const aacEncoder = new QAACEncoder();
|
||||||
aacEncoder->setProfile(settings->aacEncProfile());
|
aacEncoder->setProfile(settings->aacEncProfile());
|
||||||
|
aacEncoder->setAlgoQuality(settings->lameAlgoQuality());
|
||||||
encoder = aacEncoder;
|
encoder = aacEncoder;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user