///////////////////////////////////////////////////////////////////////////////
// LameXP - Audio Encoder Front-End
-// Copyright (C) 2004-2013 LoRd_MuldeR <MuldeR2@GMX.de>
+// Copyright (C) 2004-2015 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
// the Free Software Foundation; either version 2 of the License, or
-// (at your option) any later version.
+// (at your option) any later version, but always including the *additional*
+// restrictions defined in the "License.txt" file.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
return true;
break;
default:
- THROW("Bad RC mode specified!");
+ MUTILS_THROW("Bad RC mode specified!");
}
}
return 41;
break;
default:
- THROW("Bad RC mode specified!");
+ MUTILS_THROW("Bad RC mode specified!");
}
}
return qBound(8, index2bitrate(index), 400);
break;
default:
- THROW("Bad RC mode specified!");
+ MUTILS_THROW("Bad RC mode specified!");
}
}
return TYPE_BITRATE;
break;
default:
- THROW("Bad RC mode specified!");
+ MUTILS_THROW("Bad RC mode specified!");
}
}
AACEncoder::AACEncoder(void)
:
- m_binary_enc(lamexp_lookup_tool("neroAacEnc.exe")),
- m_binary_tag(lamexp_lookup_tool("neroAacTag.exe")),
- m_binary_sox(lamexp_lookup_tool("sox.exe"))
+ m_binary_enc(lamexp_tools_lookup("neroAacEnc.exe")),
+ m_binary_tag(lamexp_tools_lookup("neroAacTag.exe")),
+ m_binary_sox(lamexp_tools_lookup("sox.exe"))
{
if(m_binary_enc.isEmpty() || m_binary_tag.isEmpty() || m_binary_sox.isEmpty())
{
- THROW("Error initializing AAC encoder. Tool 'neroAacEnc.exe' is not registred!");
+ MUTILS_THROW("Error initializing AAC encoder. Tool 'neroAacEnc.exe' is not registred!");
}
m_configProfile = 0;
args << "-cbr" << QString::number(qBound(8, index2bitrate(m_configBitrate), 400) * 1000);
break;
default:
- THROW("Bad rate-control mode!");
+ MUTILS_THROW("Bad rate-control mode!");
break;
}