19 #ifndef INCLUDE_WFMDEMOD_H 20 #define INCLUDE_WFMDEMOD_H 25 #include <QNetworkRequest> 40 #define rfFilterFftLength 1024 42 class QNetworkAccessManager;
92 m_sampleRate(sampleRate),
93 m_centerFrequency(centerFrequency)
101 virtual void feed(
const SampleVector::const_iterator& begin,
const SampleVector::const_iterator& end,
bool po);
102 virtual void start();
119 (void) sinkElseSource;
146 QString& errorMessage);
150 const QStringList& channelSettingsKeys,
152 QString& errorMessage);
156 QString& errorMessage);
239 #endif // INCLUDE_WFMDEMOD_H
qint64 m_inputFrequencyOffset
void networkManagerFinished(QNetworkReply *reply)
std::vector< Sample > SampleVector
std::vector< AudioSample > AudioVector
ThreadedBasebandSampleSink * m_threadedChannelizer
virtual QByteArray serialize() const
WFMDemodSettings m_settings
virtual int webapiReportGet(SWGSDRangel::SWGChannelReport &response, QString &errorMessage)
virtual int getNbSinkStreams() const
virtual void getTitle(QString &title)
virtual int webapiSettingsPutPatch(bool force, const QStringList &channelSettingsKeys, SWGSDRangel::SWGChannelSettings &response, QString &errorMessage)
bool getSquelchOpen() const
AudioVector m_audioBuffer
static int requiredBW(int rfBW)
void getMagSqLevels(double &avg, double &peak, int &nbSamples)
#define MESSAGE_CLASS_DECLARATION
QNetworkRequest m_networkRequest
static const int m_udpBlockSize
Real m_interpolatorDistance
virtual qint64 getCenterFrequency() const
Applies to a default stream.
Interpolator m_interpolator
Interpolator between sample rate sent from DSP engine and requested RF bandwidth (rational) ...
virtual int getNbSourceStreams() const
quint32 m_audioSampleRate
void applyAudioSampleRate(int sampleRate)
void applyChannelSettings(int inputSampleRate, int inputFrequencyOffset, bool force=false)
virtual void feed(const SampleVector::const_iterator &begin, const SampleVector::const_iterator &end, bool po)
QNetworkAccessManager * m_networkManager
double m_magsq
displayed averaged value
static const QString m_channelIdURI
void applySettings(const WFMDemodSettings &settings, bool force=false)
void webapiReverseSendSettings(QList< QString > &channelSettingsKeys, const WFMDemodSettings &settings, bool force)
MagSqLevelsStore m_magSqLevelStore
MovingAverageUtil< Real, double, 16 > m_movingAverage
static const QString m_channelId
WFMDemod(DeviceAPI *deviceAPI)
void webapiFormatChannelReport(SWGSDRangel::SWGChannelReport &response)
SampleVector m_sampleBuffer
int m_inputFrequencyOffset
Real m_interpolatorDistanceRemain
virtual void getIdentifier(QString &id)
DownChannelizer * m_channelizer
virtual qint64 getStreamCenterFrequency(int streamIndex, bool sinkElseSource) const
void webapiFormatChannelSettings(SWGSDRangel::SWGChannelSettings &response, const WFMDemodSettings &settings)
virtual int webapiSettingsGet(SWGSDRangel::SWGChannelSettings &response, QString &errorMessage)
PhaseDiscriminators m_phaseDiscri
virtual bool handleMessage(const Message &cmd)
Processing of a message. Returns true if message has actually been processed.
virtual bool deserialize(const QByteArray &data)