OSDN Git Service

Updated Web Updater binary. Now takes an additional "Checksum" argument.
[lamexp/LameXP.git] / src / Filter_ToneAdjust.cpp
index d64c2aa..60ba67e 100644 (file)
@@ -1,6 +1,6 @@
 ///////////////////////////////////////////////////////////////////////////////
 // LameXP - Audio Encoder Front-End
-// Copyright (C) 2004-2014 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
 
 #include "Filter_ToneAdjust.h"
 
+//Internal
 #include "Global.h"
 
+//MUtils
+#include <MUtils/Exception.h>
+
+//Qt
 #include <QDir>
 #include <QProcess>
 #include <QRegExp>
 
 ToneAdjustFilter::ToneAdjustFilter(int bass, int treble)
 :
-       m_binary(lamexp_lookup_tool("sox.exe"))
+       m_binary(lamexp_tools_lookup("sox.exe"))
 {
        if(m_binary.isEmpty())
        {
-               THROW("Error initializing SoX filter. Tool 'sox.exe' is not registred!");
+               MUTILS_THROW("Error initializing SoX filter. Tool 'sox.exe' is not registred!");
        }
 
        m_bass = qMax(-2000, qMin(2000, bass));