From fc498ec398073b5a9ecb8cf6c14336a2278567c2 Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Fri, 10 Jul 2015 15:04:07 +0000 Subject: fixed regression git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@5241 90c681e8-e032-0410-971d-27865f9a5e38 --- src/plugins/Effect/srconverter/srconverter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (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 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() -- cgit v1.2.3-13-gbd6f