Remove taps_count template arg for FIRAndDecimateBy2Complex.

Use heap to allocate samples and taps buffers, so filters of different lengths can be supported.
This commit is contained in:
Jared Boone 2015-11-03 12:11:32 -08:00
parent 0f73d6061a
commit be78ed657f
4 changed files with 34 additions and 14 deletions

View file

@ -38,7 +38,7 @@ public:
private:
ChannelDecimator decimator { ChannelDecimator::DecimationFactor::By32 };
const fir_taps_real<64>& channel_filter_taps = taps_64_lp_031_070_tfilter;
dsp::decimate::FIRAndDecimateBy2Complex<64> channel_filter { channel_filter_taps.taps };
dsp::decimate::FIRAndDecimateBy2Complex channel_filter { channel_filter_taps.taps };
dsp::demodulate::AM demod;
IIRBiquadFilter audio_hpf { audio_hpf_config };
};