aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/plugins/Effect/srconverter/srconverter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/Effect/srconverter/srconverter.cpp b/src/plugins/Effect/srconverter/srconverter.cpp
index 885c1dac1..239d426ad 100644
--- a/src/plugins/Effect/srconverter/srconverter.cpp
+++ b/src/plugins/Effect/srconverter/srconverter.cpp
@@ -119,11 +119,11 @@ void SRConverter::configure(quint32 freq, ChannelMap map, Qmmp::AudioFormat for
else
qDebug("SRConverter: src_new(): %s", src_strerror(m_srcError));
- Effect::configure(m_overSamplingFs, map, format);
m_sz = audioParameters().sampleSize();
m_src_data.data_in = new float[QMMP_BLOCK_FRAMES * channels() * 2];
m_src_data.data_out = new float[int(m_src_data.src_ratio * QMMP_BLOCK_FRAMES * channels() * 2 + 2)];
}
+ Effect::configure(m_overSamplingFs, map, format);
}
void SRConverter::freeSRC()