aboutsummaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2016-01-11 09:04:56 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2016-01-11 09:04:56 +0000
commit16138248f094683d5665f324d821f6a0bc0b556a (patch)
treef342f68927b3eaab285ec9b005b56ce27ca24152 /src/plugins
parent6788444ce3aee9c74dc4ac1518a779c8c663c319 (diff)
downloadqmmp-16138248f094683d5665f324d821f6a0bc0b556a.tar.gz
qmmp-16138248f094683d5665f324d821f6a0bc0b556a.tar.bz2
qmmp-16138248f094683d5665f324d821f6a0bc0b556a.zip
removed useless code
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@5980 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/Effect/srconverter/srconverter.cpp5
-rw-r--r--src/plugins/Effect/srconverter/srconverter.h3
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