1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-26 09:48:45 -05:00

Use double storage type for all moving average instances

This commit is contained in:
f4exb 2017-05-12 00:03:56 +02:00
parent 6c5c08c6a4
commit ffb6ad3009
16 changed files with 16 additions and 16 deletions

View File

@ -94,7 +94,7 @@ private:
RDSParser m_rdsParser;
BFMDemod* m_bfmDemod;
MovingAverage<Real> m_channelPowerDbAvg;
MovingAverage<double> m_channelPowerDbAvg;
int m_rate;
std::vector<unsigned int> m_g14ComboIndex;

View File

@ -110,7 +110,7 @@ private:
bool m_tdmaStereo;
bool m_audioMute;
bool m_squelchOpen;
MovingAverage<Real> m_channelPowerDbAvg;
MovingAverage<double> m_channelPowerDbAvg;
int m_tickCount;
float m_myLatitude;

View File

@ -68,7 +68,7 @@ private:
bool m_audioFlipChannels;
bool m_dsb;
bool m_audioMute;
MovingAverage<Real> m_channelPowerDbAvg;
MovingAverage<double> m_channelPowerDbAvg;
ThreadedBasebandSampleSink* m_threadedChannelizer;
DownChannelizer* m_channelizer;

View File

@ -63,7 +63,7 @@ private:
ThreadedBasebandSampleSink* m_threadedChannelizer;
DownChannelizer* m_channelizer;
WFMDemod* m_wfmDemod;
MovingAverage<Real> m_channelPowerDbAvg;
MovingAverage<double> m_channelPowerDbAvg;
static const int m_rfBW[];
static const int m_nbRfBW;

View File

@ -60,7 +60,7 @@ private:
DeviceSourceAPI* m_deviceAPI;
TCPSrc* m_tcpSrc;
ChannelMarker m_channelMarker;
MovingAverage<Real> m_channelPowerDbAvg;
MovingAverage<double> m_channelPowerDbAvg;
// settings
TCPSrc::SampleFormat m_sampleFormat;

View File

@ -83,7 +83,7 @@ private:
DeviceSourceAPI* m_deviceAPI;
UDPSrc* m_udpSrc;
ChannelMarker m_channelMarker;
MovingAverage<Real> m_channelPowerDbAvg;
MovingAverage<double> m_channelPowerDbAvg;
// settings
UDPSrc::SampleFormat m_sampleFormat;

View File

@ -292,7 +292,7 @@ private:
bool m_interpolatorConsumed;
Real m_magsq;
MovingAverage<Real> m_movingAverage;
MovingAverage<double> m_movingAverage;
SimpleAGC m_volumeAGC;
AudioVector m_audioBuffer;

View File

@ -91,7 +91,7 @@ private:
ThreadedBasebandSampleSource* m_threadedChannelizer;
UpChannelizer* m_channelizer;
AMMod* m_amMod;
MovingAverage<Real> m_channelPowerDbAvg;
MovingAverage<double> m_channelPowerDbAvg;
QString m_fileName;
quint32 m_recordLength;

View File

@ -652,7 +652,7 @@ private:
int m_lineCount; //!< current line index in frame
float m_fps; //!< resulting frames per second
MovingAverage<Real> m_movingAverage;
MovingAverage<double> m_movingAverage;
quint32 m_levelCalcCount;
Real m_peakLevel;
Real m_levelSum;

View File

@ -108,7 +108,7 @@ private:
ThreadedBasebandSampleSource* m_threadedChannelizer;
UpChannelizer* m_channelizer;
ATVMod* m_atvMod;
MovingAverage<Real> m_channelPowerDbAvg;
MovingAverage<double> m_channelPowerDbAvg;
QString m_imageFileName;
QString m_videoFileName;

View File

@ -340,7 +340,7 @@ private:
Bandpass<Real> m_bandpass;
Real m_magsq;
MovingAverage<Real> m_movingAverage;
MovingAverage<double> m_movingAverage;
SimpleAGC m_volumeAGC;
AudioVector m_audioBuffer;

View File

@ -96,7 +96,7 @@ private:
ThreadedBasebandSampleSource* m_threadedChannelizer;
UpChannelizer* m_channelizer;
NFMMod* m_nfmMod;
MovingAverage<Real> m_channelPowerDbAvg;
MovingAverage<double> m_channelPowerDbAvg;
QString m_fileName;
quint32 m_recordLength;

View File

@ -364,7 +364,7 @@ private:
int m_sumCount;
Real m_magsq;
MovingAverage<Real> m_movingAverage;
MovingAverage<double> m_movingAverage;
SimpleAGC m_volumeAGC;
AudioVector m_audioBuffer;

View File

@ -99,7 +99,7 @@ private:
UpChannelizer* m_channelizer;
SpectrumVis* m_spectrumVis;
SSBMod* m_ssbMod;
MovingAverage<Real> m_channelPowerDbAvg;
MovingAverage<double> m_channelPowerDbAvg;
QString m_fileName;
quint32 m_recordLength;

View File

@ -324,7 +324,7 @@ private:
int m_rfFilterBufferIndex;
Real m_magsq;
MovingAverage<Real> m_movingAverage;
MovingAverage<double> m_movingAverage;
SimpleAGC m_volumeAGC;
AudioVector m_audioBuffer;

View File

@ -93,7 +93,7 @@ private:
ThreadedBasebandSampleSource* m_threadedChannelizer;
UpChannelizer* m_channelizer;
WFMMod* m_wfmMod;
MovingAverage<Real> m_channelPowerDbAvg;
MovingAverage<double> m_channelPowerDbAvg;
QString m_fileName;
quint32 m_recordLength;