X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=src%2FFilter_ToneAdjust.cpp;h=60ba67ea3f5373ee1217cb7a55989fa88dce060f;hb=2e89c1fe77fb1328ae333d74d69d5df76d4a914b;hp=d64c2aa3c9a96b8cbbefc7035bbd7b51c8630bdc;hpb=cc38035087d0ea2fddf3b41375de94abc43886f4;p=lamexp%2FLameXP.git diff --git a/src/Filter_ToneAdjust.cpp b/src/Filter_ToneAdjust.cpp index d64c2aa3..60ba67ea 100644 --- a/src/Filter_ToneAdjust.cpp +++ b/src/Filter_ToneAdjust.cpp @@ -1,6 +1,6 @@ /////////////////////////////////////////////////////////////////////////////// // LameXP - Audio Encoder Front-End -// Copyright (C) 2004-2014 LoRd_MuldeR +// Copyright (C) 2004-2015 LoRd_MuldeR // // 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 @@ -22,8 +22,13 @@ #include "Filter_ToneAdjust.h" +//Internal #include "Global.h" +//MUtils +#include + +//Qt #include #include #include @@ -31,11 +36,11 @@ 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));