mirror of
https://github.com/cjcliffe/CubicSDR.git
synced 2024-09-27 15:56:48 -04:00
dealloc filter init var
This commit is contained in:
parent
1ed7d95193
commit
bc991c2cd9
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user