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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user