From 16138248f094683d5665f324d821f6a0bc0b556a Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Mon, 11 Jan 2016 09:04:56 +0000 Subject: removed useless code git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@5980 90c681e8-e032-0410-971d-27865f9a5e38 --- src/plugins/Effect/srconverter/srconverter.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/plugins/Effect/srconverter/srconverter.cpp') 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); -- cgit v1.2.3-13-gbd6f