From 013ee07b55a3738b28b5d46324392d8498b50f2b Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Thu, 11 Mar 2010 18:46:25 +0000 Subject: removed obsolete members git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@1619 90c681e8-e032-0410-971d-27865f9a5e38 --- src/plugins/Input/modplug/decoder_modplug.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/plugins/Input/modplug/decoder_modplug.cpp') diff --git a/src/plugins/Input/modplug/decoder_modplug.cpp b/src/plugins/Input/modplug/decoder_modplug.cpp index 6a9acb581..99e9ba127 100644 --- a/src/plugins/Input/modplug/decoder_modplug.cpp +++ b/src/plugins/Input/modplug/decoder_modplug.cpp @@ -96,7 +96,7 @@ bool DecoderModPlug::initialize() m_bitrate = m_soundFile->GetNumChannels(); m_totalTime = (qint64) m_soundFile->GetSongTime() * 1000; configure(m_freq, m_chan, (m_bps == 8 ? Qmmp::PCM_S8 : Qmmp::PCM_S16LE)); - return TRUE; + return true; } qint64 DecoderModPlug::totalTime() @@ -187,10 +187,10 @@ void DecoderModPlug::readSettings() CSoundFile::SetWaveConfigEx ( - settings.value("Surround", TRUE).toBool(), - TRUE, + settings.value("Surround", true).toBool(), + true, settings.value("Reverb", FALSE).toBool(), - TRUE, + true, settings.value("Megabass", FALSE).toBool(), settings.value("NoiseReduction", FALSE).toBool(), FALSE @@ -211,7 +211,7 @@ void DecoderModPlug::readSettings() settings.value("BassRange", 30).toInt() ); } - if (settings.value("Surround", TRUE).toBool()) + if (settings.value("Surround", true).toBool()) { CSoundFile::SetSurroundParameters ( @@ -225,7 +225,7 @@ void DecoderModPlug::readSettings() //general /* - settings.value("GrabAmigaMOD", TRUE).toBool());*/ + settings.value("GrabAmigaMOD", true).toBool());*/ //preamp m_usePreamp = settings.value("PreAmp", FALSE).toBool(); m_preampFactor = exp(settings.value("PreAmpLevel", 0.0f).toDouble()); -- cgit v1.2.3-13-gbd6f