dealloc filter init var

This commit is contained in:
Charles J. Cliffe 2015-01-25 01:27:37 -05:00
parent 1ed7d95193
commit bc991c2cd9

View File

@ -62,6 +62,8 @@ void DemodulatorThread::threadMain() {
firStereoLeft = firfilt_rrrf_create(h, h_len);
firStereoRight = firfilt_rrrf_create(h, h_len);
delete h;
liquid_float_complex x, y;
firhilbf firStereoR2C = firhilbf_create(5, 60.0f);
@ -86,6 +88,8 @@ void DemodulatorThread::threadMain() {
firfilt_crcf firSSB = firfilt_crcf_create(ssb_h, h_len);
delete ssb_h;
// Automatic IQ gain
iqAutoGain = agc_crcf_create();
agc_crcf_set_bandwidth(iqAutoGain, 0.9);