1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-08-14 15:33:34 -04:00

SSB demod: use delay line to squeeze squelch tail

This commit is contained in:
f4exb
2018-04-22 09:37:34 +02:00
parent 4670cbaa33
commit 7e6267f41c
5 changed files with 31 additions and 9 deletions
+12
View File
@@ -176,3 +176,15 @@ double MagAGC::feedAndGetValue(const Complex& ci)
return m_u0;
}
}
float MagAGC::getStepDownValue() const
{
if (m_count < m_stepDownDelay)
{
return 1.0f;
}
else
{
return StepFunctions::smootherstep(m_stepDownCounter * m_stepDelta);
}
}