diff options
Diffstat (limited to 'src/plugins')
| -rw-r--r-- | src/plugins/Effect/srconverter/srconverter.cpp | 5 | ||||
| -rw-r--r-- | src/plugins/Effect/srconverter/srconverter.h | 3 |
2 files changed, 2 insertions, 6 deletions
diff --git a/src/plugins/Effect/srconverter/srconverter.cpp b/src/plugins/Effect/srconverter/srconverter.cpp index c0df1533a..753e60172 100644 --- a/src/plugins/Effect/srconverter/srconverter.cpp +++ b/src/plugins/Effect/srconverter/srconverter.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2007-2015 by Ilya Kotov * + * Copyright (C) 2007-2016 by Ilya Kotov * * forkotov02@hotmail.ru * * * * This program is free software; you can redistribute it and/or modify * @@ -30,7 +30,6 @@ SRConverter::SRConverter() : Effect() SRC_ZERO_ORDER_HOLD, SRC_LINEAR}; m_src_state = 0; m_srcError = 0; - m_sz = 0; m_src_data.data_in = 0; m_src_data.data_out = 0; QSettings settings(Qmmp::configFile(), QSettings::IniFormat); @@ -41,7 +40,6 @@ SRConverter::SRConverter() : Effect() SRConverter::~SRConverter() { freeSRC(); - m_sz = 0; } void SRConverter::applyEffect(Buffer *b) @@ -87,7 +85,6 @@ void SRConverter::configure(quint32 freq, ChannelMap map) else qDebug("SRConverter: src_new(): %s", src_strerror(m_srcError)); - m_sz = audioParameters().sampleSize(); m_src_data.data_out = new float[int(m_src_data.src_ratio * QMMP_BLOCK_FRAMES * map.count() * 2 + 2)]; } Effect::configure(m_overSamplingFs, map); diff --git a/src/plugins/Effect/srconverter/srconverter.h b/src/plugins/Effect/srconverter/srconverter.h index 34071d462..f0573d911 100644 --- a/src/plugins/Effect/srconverter/srconverter.h +++ b/src/plugins/Effect/srconverter/srconverter.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2007-2015 by Ilya Kotov * + * Copyright (C) 2007-2016 by Ilya Kotov * * forkotov02@hotmail.ru * * * * This program is free software; you can redistribute it and/or modify * @@ -43,7 +43,6 @@ private: quint32 m_overSamplingFs; int m_srcError; int m_converter_type; - int m_sz; //sample size }; #endif |
