mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2026-04-19 14:52:43 +00:00
attemt at a CI build with new DSP
This commit is contained in:
@@ -18,8 +18,8 @@ namespace dsp::demod {
|
||||
void init(stream<complex_t>* in, AGCMode agcMode, double agcRate) {
|
||||
_agcMode = agcMode;
|
||||
|
||||
carrierAgc.init(NULL, 1.0, agcRate);
|
||||
audioAgc.init(NULL, 1.0, agcRate);
|
||||
carrierAgc.init(NULL, 1.0, agcRate, 10e6, 10.0);
|
||||
audioAgc.init(NULL, 1.0, agcRate, 10e6, 10.0);
|
||||
|
||||
base_type::init(in);
|
||||
}
|
||||
@@ -63,6 +63,9 @@ namespace dsp::demod {
|
||||
if (_agcMode == AGCMode::AUDIO) {
|
||||
audioAgc.process(count, out, out);
|
||||
}
|
||||
else {
|
||||
volk_32f_s32f_add_32f(out, out, -1.0f, count);
|
||||
}
|
||||
|
||||
return count;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user