From 1dc218d346e307060a8d4afbdb2af2a1f77cc73c Mon Sep 17 00:00:00 2001 From: "Charles J. Cliffe" Date: Mon, 22 Dec 2014 21:31:53 -0500 Subject: [PATCH] Disable FIR filter -- decimation is enough? --- src/demod/DemodulatorPreThread.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/demod/DemodulatorPreThread.cpp b/src/demod/DemodulatorPreThread.cpp index 9e2c117..eb71a6b 100644 --- a/src/demod/DemodulatorPreThread.cpp +++ b/src/demod/DemodulatorPreThread.cpp @@ -186,9 +186,10 @@ void DemodulatorPreThread::threadMain() { DemodulatorThreadPostIQData resamp; resamp.data = new std::vector; - resamp.data->resize(bufSize); +// resamp.data->resize(bufSize); + resamp.data->assign(in_buf,in_buf+bufSize); - firfilt_crcf_execute_block(fir_filter, in_buf, bufSize, &((*resamp.data)[0])); +// firfilt_crcf_execute_block(fir_filter, in_buf, bufSize, &((*resamp.data)[0])); resamp.audio_resample_ratio = audio_resample_ratio; resamp.audio_resampler = audio_resampler;