18 #ifndef INCLUDE_AMDEMOD_H 19 #define INCLUDE_AMDEMOD_H 23 #include <QNetworkRequest> 41 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;
125 QString& errorMessage);
129 const QStringList& channelSettingsKeys,
131 QString& errorMessage);
135 QString& errorMessage);
244 #endif // INCLUDE_AMDEMOD_H Real m_syncAMBuff[2 *1024]
virtual qint64 getStreamCenterFrequency(int streamIndex, bool sinkElseSource) const
void applyChannelSettings(int inputSampleRate, int inputFrequencyOffset, bool force=false)
std::vector< AudioSample > AudioVector
void webapiReverseSendSettings(QList< QString > &channelSettingsKeys, const AMDemodSettings &settings, bool force)
uint32_t getNumberOfDeviceStreams() const
QNetworkAccessManager * m_networkManager
void getMagSqLevels(double &avg, double &peak, int &nbSamples)
AMDemodSettings m_settings
void webapiFormatChannelSettings(SWGSDRangel::SWGChannelSettings &response, const AMDemodSettings &settings)
virtual QByteArray serialize() const
virtual bool deserialize(const QByteArray &data)
void webapiFormatChannelReport(SWGSDRangel::SWGChannelReport &response)
virtual void getIdentifier(QString &id)
MovingAverageUtil< Real, double, 16 > m_movingAverage
Real getPllFrequency() const
virtual int getNbSinkStreams() const
Real m_interpolatorDistance
Lowpass< Real > m_lowpass
AMDemod(DeviceAPI *deviceAPI)
#define MESSAGE_CLASS_DECLARATION
int m_inputFrequencyOffset
virtual bool handleMessage(const Message &cmd)
Processing of a message. Returns true if message has actually been processed.
Interpolator m_interpolator
virtual int webapiReportGet(SWGSDRangel::SWGChannelReport &response, QString &errorMessage)
uint32_t m_audioSampleRate
virtual void feed(const SampleVector::const_iterator &begin, const SampleVector::const_iterator &end, bool po)
ThreadedBasebandSampleSink * m_threadedChannelizer
virtual void getTitle(QString &title)
DoubleBufferFIFO< Real > m_squelchDelayLine
DownChannelizer * m_channelizer
virtual int getNbSourceStreams() const
virtual int webapiSettingsPutPatch(bool force, const QStringList &channelSettingsKeys, SWGSDRangel::SWGChannelSettings &response, QString &errorMessage)
void applySettings(const AMDemodSettings &settings, bool force=false)
static const QString m_channelId
void processOneSample(Complex &ci)
uint32_t getAudioSampleRate() const
void applyAudioSampleRate(int sampleRate)
Lowpass< std::complex< float > > m_pllFilt
AudioVector m_audioBuffer
uint32_t m_audioBufferFill
virtual int webapiSettingsGet(SWGSDRangel::SWGChannelSettings &response, QString &errorMessage)
bool getSquelchOpen() const
void networkManagerFinished(QNetworkReply *reply)
qint32 m_inputFrequencyOffset
Bandpass< Real > m_bandpass
Real m_interpolatorDistanceRemain
QNetworkRequest m_networkRequest
uint32_t m_syncAMBuffIndex
bool getPllLocked() const
MagSqLevelsStore m_magSqLevelStore
std::complex< Real > Complex
static const QString m_channelIdURI
virtual qint64 getCenterFrequency() const
Applies to a default stream.
SimpleAGC< 4800 > m_volumeAGC
static const int m_udpBlockSize