mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-14 04:11:48 -05:00
NFM and DSD plugins: use double for base type of moving average. There was an overflow with float on high power signals (over ~5 dBm) preventing the squelch to close back
This commit is contained in:
parent
38337f1333
commit
7e6ab8204b
@ -262,7 +262,7 @@ private:
|
|||||||
bool m_squelchOpen;
|
bool m_squelchOpen;
|
||||||
|
|
||||||
Real m_lastArgument;
|
Real m_lastArgument;
|
||||||
MovingAverage<Real> m_movingAverage;
|
MovingAverage<double> m_movingAverage;
|
||||||
Real m_magsq;
|
Real m_magsq;
|
||||||
Real m_magsqSum;
|
Real m_magsqSum;
|
||||||
Real m_magsqPeak;
|
Real m_magsqPeak;
|
||||||
|
@ -207,7 +207,7 @@ private:
|
|||||||
//Complex m_m1Sample;
|
//Complex m_m1Sample;
|
||||||
//Complex m_m2Sample;
|
//Complex m_m2Sample;
|
||||||
MagAGC m_AGC;
|
MagAGC m_AGC;
|
||||||
MovingAverage<Real> m_movingAverage;
|
MovingAverage<double> m_movingAverage;
|
||||||
AFSquelch m_afSquelch;
|
AFSquelch m_afSquelch;
|
||||||
Real m_agcLevel; // AGC will aim to this level
|
Real m_agcLevel; // AGC will aim to this level
|
||||||
Real m_agcFloor; // AGC will not go below this level
|
Real m_agcFloor; // AGC will not go below this level
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
const PluginDescriptor NFMPlugin::m_pluginDescriptor = {
|
const PluginDescriptor NFMPlugin::m_pluginDescriptor = {
|
||||||
QString("NFM Demodulator"),
|
QString("NFM Demodulator"),
|
||||||
QString("2.5.0"),
|
QString("3.1.1"),
|
||||||
QString("(c) Edouard Griffiths, F4EXB"),
|
QString("(c) Edouard Griffiths, F4EXB"),
|
||||||
QString("https://github.com/f4exb/sdrangel"),
|
QString("https://github.com/f4exb/sdrangel"),
|
||||||
true,
|
true,
|
||||||
|
Loading…
Reference in New Issue
Block a user