Browse Source

Use double storage type for all moving average instances

chirpmodem-v8.0.0
f4exb 10 years ago
parent
commit
ffb6ad3009
  1. 2
      plugins/channelrx/demodbfm/bfmdemodgui.h
  2. 2
      plugins/channelrx/demoddsd/dsddemodgui.h
  3. 2
      plugins/channelrx/demodssb/ssbdemodgui.h
  4. 2
      plugins/channelrx/demodwfm/wfmdemodgui.h
  5. 2
      plugins/channelrx/tcpsrc/tcpsrcgui.h
  6. 2
      plugins/channelrx/udpsrc/udpsrcgui.h
  7. 2
      plugins/channeltx/modam/ammod.h
  8. 2
      plugins/channeltx/modam/ammodgui.h
  9. 2
      plugins/channeltx/modatv/atvmod.h
  10. 2
      plugins/channeltx/modatv/atvmodgui.h
  11. 2
      plugins/channeltx/modnfm/nfmmod.h
  12. 2
      plugins/channeltx/modnfm/nfmmodgui.h
  13. 2
      plugins/channeltx/modssb/ssbmod.h
  14. 2
      plugins/channeltx/modssb/ssbmodgui.h
  15. 2
      plugins/channeltx/modwfm/wfmmod.h
  16. 2
      plugins/channeltx/modwfm/wfmmodgui.h

2
plugins/channelrx/demodbfm/bfmdemodgui.h

@ -94,7 +94,7 @@ private: @@ -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;

2
plugins/channelrx/demoddsd/dsddemodgui.h

@ -110,7 +110,7 @@ private: @@ -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;

2
plugins/channelrx/demodssb/ssbdemodgui.h

@ -68,7 +68,7 @@ private: @@ -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;

2
plugins/channelrx/demodwfm/wfmdemodgui.h

@ -63,7 +63,7 @@ private: @@ -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;

2
plugins/channelrx/tcpsrc/tcpsrcgui.h

@ -60,7 +60,7 @@ private: @@ -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;

2
plugins/channelrx/udpsrc/udpsrcgui.h

@ -83,7 +83,7 @@ private: @@ -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;

2
plugins/channeltx/modam/ammod.h

@ -292,7 +292,7 @@ private: @@ -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;

2
plugins/channeltx/modam/ammodgui.h

@ -91,7 +91,7 @@ private: @@ -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;

2
plugins/channeltx/modatv/atvmod.h

@ -652,7 +652,7 @@ private: @@ -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;

2
plugins/channeltx/modatv/atvmodgui.h

@ -108,7 +108,7 @@ private: @@ -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;

2
plugins/channeltx/modnfm/nfmmod.h

@ -340,7 +340,7 @@ private: @@ -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;

2
plugins/channeltx/modnfm/nfmmodgui.h

@ -96,7 +96,7 @@ private: @@ -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;

2
plugins/channeltx/modssb/ssbmod.h

@ -364,7 +364,7 @@ private: @@ -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;

2
plugins/channeltx/modssb/ssbmodgui.h

@ -99,7 +99,7 @@ private: @@ -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;

2
plugins/channeltx/modwfm/wfmmod.h

@ -324,7 +324,7 @@ private: @@ -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;

2
plugins/channeltx/modwfm/wfmmodgui.h

@ -93,7 +93,7 @@ private: @@ -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;

Loading…
Cancel
Save