mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2026-04-20 23:22:43 +00:00
Fixes
This commit is contained in:
@@ -22,6 +22,9 @@ namespace dsp::demod {
|
||||
carrierAgc.init(NULL, 1.0, agcAttack, agcDecay, 10e6, 10.0);
|
||||
audioAgc.init(NULL, 1.0, agcAttack, agcDecay, 10e6, 10.0);
|
||||
dcBlock.init(NULL, dcBlockRate);
|
||||
|
||||
audioAgc.out.free();
|
||||
dcBlock.out.free();
|
||||
|
||||
base_type::init(in);
|
||||
}
|
||||
|
||||
@@ -52,6 +52,11 @@ namespace dsp::demod {
|
||||
l = buffer::alloc<float>(STREAM_BUFFER_SIZE);
|
||||
r = buffer::alloc<float>(STREAM_BUFFER_SIZE);
|
||||
|
||||
lprDelay.out.free();
|
||||
lmrDelay.out.free();
|
||||
arFir.out.free();
|
||||
alFir.out.free();
|
||||
|
||||
base_type::init(in);
|
||||
}
|
||||
|
||||
|
||||
@@ -22,8 +22,12 @@ namespace dsp::demod {
|
||||
_mode = mode;
|
||||
_bandwidth = bandwidth;
|
||||
_samplerate = samplerate;
|
||||
|
||||
xlator.init(NULL, getTranslation(), _samplerate);
|
||||
agc.init(NULL, 1.0, agcAttack, agcDecay, 10e6, 10.0);
|
||||
|
||||
agc.out.free();
|
||||
|
||||
base_type::init(in);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user