aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2017-06-24 11:27:55 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2017-06-24 11:27:55 +0000
commit278172a30554416d085c8adcc0c20754523a8c20 (patch)
treebbb072235e7d27b705fc944f8816fbedfb60d53c
parent48feab8e723002e9ea3d91aa3f090d7bf7fd5b6b (diff)
downloadqmmp-278172a30554416d085c8adcc0c20754523a8c20.tar.gz
qmmp-278172a30554416d085c8adcc0c20754523a8c20.tar.bz2
qmmp-278172a30554416d085c8adcc0c20754523a8c20.zip
fixed dithering settings (#921)
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@7258 90c681e8-e032-0410-971d-27865f9a5e38
-rw-r--r--src/qmmp/dithering.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/qmmp/dithering.cpp b/src/qmmp/dithering.cpp
index 809db2a2f..606e17088 100644
--- a/src/qmmp/dithering.cpp
+++ b/src/qmmp/dithering.cpp
@@ -2,7 +2,7 @@
* Based on madplay project *
* *
* Copyright (C) 2000-2004 Robert Leslie <rob@mars.org> *
- * Copyright (C) 2016 Ilya Kotov forkotov02@hotmail.ru *
+ * Copyright (C) 2016-2017 Ilya Kotov forkotov02@hotmail.ru *
* *
* 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 *
@@ -20,13 +20,14 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
***************************************************************************/
+#include "qmmpsettings.h"
#include "dithering_p.h"
Dithering::Dithering() : Effect()
{
m_lsb = 0.0f;
m_required = false;
- m_enabled = false;
+ m_enabled = QmmpSettings::instance()->useDithering();
m_chan = 2;
clearHistory();
}