19 #ifndef INCLUDE_DSDDEMOD_H 20 #define INCLUDE_DSDDEMOD_H 25 #include <QNetworkRequest> 44 class QNetworkAccessManager;
94 m_sampleRate(sampleRate),
95 m_centerFrequency(centerFrequency)
106 virtual void feed(
const SampleVector::const_iterator& begin,
const SampleVector::const_iterator& end,
bool po);
107 virtual void start();
124 (void) sinkElseSource;
155 QString& errorMessage);
159 const QStringList& channelSettingsKeys,
161 QString& errorMessage);
165 QString& errorMessage);
208 m_myLatitude(myLatitude),
209 m_myLongitude(myLongitude)
284 #endif // INCLUDE_DSDDEMOD_H
PhaseDiscriminators m_phaseDiscri
MagSqLevelsStore m_magSqLevelStore
std::vector< Sample > SampleVector
virtual int webapiSettingsGet(SWGSDRangel::SWGChannelSettings &response, QString &errorMessage)
std::vector< AudioSample > AudioVector
void webapiFormatChannelSettings(SWGSDRangel::SWGChannelSettings &response, const DSDDemodSettings &settings)
void getMagSqLevels(double &avg, double &peak, int &nbSamples)
AudioVector m_audioBuffer
ThreadedBasebandSampleSink * m_threadedChannelizer
MovingAverageUtil< Real, double, 16 > m_movingAverage
char m_formatStatusText[82+1]
Fixed signal format dependent status text.
static const QString m_channelIdURI
virtual int webapiSettingsPutPatch(bool force, const QStringList &channelSettingsKeys, SWGSDRangel::SWGChannelSettings &response, QString &errorMessage)
virtual bool deserialize(const QByteArray &data)
virtual void getTitle(QString &title)
virtual qint64 getCenterFrequency() const
Applies to a default stream.
static const int m_udpBlockSize
int m_inputFrequencyOffset
SampleVector m_scopeSampleBuffer
virtual void getIdentifier(QString &id)
virtual void feed(const SampleVector::const_iterator &begin, const SampleVector::const_iterator &end, bool po)
void applySettings(const DSDDemodSettings &settings, bool force=false)
qint64 m_inputFrequencyOffset
void setScopeXYSink(BasebandSampleSink *sampleSink)
quint32 m_audioSampleRate
void webapiReverseSendSettings(QList< QString > &channelSettingsKeys, const DSDDemodSettings &settings, bool force)
virtual int getNbSourceStreams() const
void webapiFormatChannelReport(SWGSDRangel::SWGChannelReport &response)
DownChannelizer * m_channelizer
#define MESSAGE_CLASS_DECLARATION
virtual int webapiReportGet(SWGSDRangel::SWGChannelReport &response, QString &errorMessage)
bool getSquelchOpen() const
DoubleBufferFIFO< Real > m_squelchDelayLine
Interpolator m_interpolator
virtual bool handleMessage(const Message &cmd)
Processing of a message. Returns true if message has actually been processed.
BasebandSampleSink * m_scopeXY
DSDDemodSettings m_settings
void applyAudioSampleRate(int sampleRate)
virtual qint64 getStreamCenterFrequency(int streamIndex, bool sinkElseSource) const
DSDDemod(DeviceAPI *deviceAPI)
void networkManagerFinished(QNetworkReply *reply)
FixReal * m_sampleBuffer
samples ring buffer
void configureMyPosition(MessageQueue *messageQueue, float myLatitude, float myLongitude)
SignalFormat m_signalFormat
Used to keep formatting during successive calls for the same standard type.
Real m_interpolatorDistance
Real m_interpolatorDistanceRemain
static const QString m_channelId
const char * updateAndGetStatusText()
virtual QByteArray serialize() const
QNetworkAccessManager * m_networkManager
const DSDDecoder & getDecoder() const
QNetworkRequest m_networkRequest
virtual int getNbSinkStreams() const
void applyChannelSettings(int inputSampleRate, int inputFrequencyOffset, bool force=false)