From 278172a30554416d085c8adcc0c20754523a8c20 Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Sat, 24 Jun 2017 11:27:55 +0000 Subject: fixed dithering settings (#921) git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@7258 90c681e8-e032-0410-971d-27865f9a5e38 --- src/qmmp/dithering.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src') 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 * - * 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(); } -- cgit v1.2.3-13-gbd6f