SDRAngel
4.11.5
Developer docs for <a href="https://github.com/f4exb/sdrangel">SDRangel<\a>, an Open Source Qt5 / OpenGL 3.0+ SDR and signal analyzer frontend to various hardware.
|
#include <freedvdemod.h>
Classes | |
struct | FreeDVSNR |
struct | FreeDVStats |
struct | LevelRMS |
struct | MagSqLevelsStore |
class | MsgConfigureChannelizer |
class | MsgConfigureFreeDVDemod |
class | MsgConfigureFreeDVDemodPrivate |
class | MsgResyncFreeDVDemod |
Signals | |
void | levelInChanged (qreal rmsLevel, qreal peakLevel, int numSamples) |
Public Member Functions | |
FreeDVDemod (DeviceAPI *deviceAPI) | |
virtual | ~FreeDVDemod () |
virtual void | destroy () |
void | setSampleSink (BasebandSampleSink *sampleSink) |
void | configure (MessageQueue *messageQueue, Real Bandwidth, Real LowCutoff, Real volume, int spanLog2, bool audioBinaural, bool audioFlipChannels, bool dsb, bool audioMute, bool agc, bool agcClamping, int agcTimeLog2, int agcPowerThreshold, int agcThresholdGate) |
virtual void | feed (const SampleVector::const_iterator &begin, const SampleVector::const_iterator &end, bool positiveOnly) |
virtual void | start () |
virtual void | stop () |
virtual bool | handleMessage (const Message &cmd) |
Processing of a message. Returns true if message has actually been processed. More... | |
virtual void | getIdentifier (QString &id) |
virtual void | getTitle (QString &title) |
virtual qint64 | getCenterFrequency () const |
Applies to a default stream. More... | |
virtual QByteArray | serialize () const |
virtual bool | deserialize (const QByteArray &data) |
virtual int | getNbSinkStreams () const |
virtual int | getNbSourceStreams () const |
virtual qint64 | getStreamCenterFrequency (int streamIndex, bool sinkElseSource) const |
uint32_t | getAudioSampleRate () const |
uint32_t | getModemSampleRate () const |
double | getMagSq () const |
bool | getAudioActive () const |
void | getMagSqLevels (double &avg, double &peak, int &nbSamples) |
void | getSNRLevels (double &avg, double &peak, int &nbSamples) |
int | getBER () const |
float | getFrequencyOffset () const |
bool | isSync () const |
virtual int | webapiSettingsGet (SWGSDRangel::SWGChannelSettings &response, QString &errorMessage) |
virtual int | webapiSettingsPutPatch (bool force, const QStringList &channelSettingsKeys, SWGSDRangel::SWGChannelSettings &response, QString &errorMessage) |
virtual int | webapiReportGet (SWGSDRangel::SWGChannelReport &response, QString &errorMessage) |
Public Member Functions inherited from BasebandSampleSink | |
BasebandSampleSink () | |
virtual | ~BasebandSampleSink () |
MessageQueue * | getInputMessageQueue () |
Get the queue for asynchronous inbound communication. More... | |
virtual void | setMessageQueueToGUI (MessageQueue *queue) |
MessageQueue * | getMessageQueueToGUI () |
Public Member Functions inherited from ChannelAPI | |
ChannelAPI (const QString &name, StreamType streamType) | |
virtual | ~ChannelAPI () |
virtual void | setName (const QString &name) |
virtual const QString & | getName () const |
int | getIndexInDeviceSet () const |
void | setIndexInDeviceSet (int indexInDeviceSet) |
int | getDeviceSetIndex () const |
void | setDeviceSetIndex (int deviceSetIndex) |
DeviceAPI * | getDeviceAPI () |
void | setDeviceAPI (DeviceAPI *deviceAPI) |
uint64_t | getUID () const |
StreamType | getStreamType () const |
Static Public Attributes | |
static const QString | m_channelIdURI = "sdrangel.channel.freedvdemod" |
static const QString | m_channelId = "FreeDVDemod" |
Private Slots | |
void | networkManagerFinished (QNetworkReply *reply) |
Private Member Functions | |
void | pushSampleToDV (int16_t sample) |
void | pushSampleToAudio (int16_t sample) |
void | applyChannelSettings (int inputSampleRate, int inputFrequencyOffset, bool force=false) |
void | applySettings (const FreeDVDemodSettings &settings, bool force=false) |
void | applyAudioSampleRate (int sampleRate) |
void | applyFreeDVMode (FreeDVDemodSettings::FreeDVMode mode) |
void | processOneSample (Complex &ci) |
void | webapiFormatChannelSettings (SWGSDRangel::SWGChannelSettings &response, const FreeDVDemodSettings &settings) |
void | webapiFormatChannelReport (SWGSDRangel::SWGChannelReport &response) |
void | webapiReverseSendSettings (QList< QString > &channelSettingsKeys, const FreeDVDemodSettings &settings, bool force) |
Additional Inherited Members | |
Public Types inherited from ChannelAPI | |
enum | StreamType { StreamSingleSink, StreamSingleSource, StreamMIMO } |
< This is the same enum as in PluginInterface More... | |
Protected Slots inherited from BasebandSampleSink | |
void | handleInputMessages () |
Protected Attributes inherited from BasebandSampleSink | |
MessageQueue | m_inputMessageQueue |
Queue for asynchronous inbound communication. More... | |
MessageQueue * | m_guiMessageQueue |
Input message queue to the GUI. More... | |
Definition at line 50 of file freedvdemod.h.
FreeDVDemod::FreeDVDemod | ( | DeviceAPI * | deviceAPI | ) |
Definition at line 148 of file freedvdemod.cpp.
References AudioDeviceManager::addAudioSink(), DeviceAPI::addChannelSink(), DeviceAPI::addChannelSinkAPI(), applyAudioSampleRate(), applyChannelSettings(), applySettings(), DSPEngine::getAudioDeviceManager(), BasebandSampleSink::getInputMessageQueue(), AudioDeviceManager::getOutputSampleRate(), DSPEngine::instance(), m_agcActive, m_audioActive, m_audioBuffer, m_audioBufferFill, m_audioFifo, m_audioMute, m_channelId, m_channelizer, m_deviceAPI, m_freeDV, m_hiCutoff, m_iModem, m_inputFrequencyOffset, m_inputSampleRate, m_iSpeech, m_levelInNbSamples, m_lowCutoff, m_magsq, m_magsqCount, m_magsqPeak, m_magsqSum, m_modemSampleRate, m_modIn, m_networkManager, m_nMaxModemSamples, m_nSpeechSamples, m_sampleSink, m_settings, m_settingsMutex, m_simpleAGC, m_speechOut, m_speechSampleRate, m_squelchDelayLine, m_threadedChannelizer, m_undersampleCount, networkManagerFinished(), SimpleAGC< AvgSize >::resizeNew(), ssbFftLen, and SSBFilter.
Referenced by FreeDVDemod::MsgConfigureChannelizer::MsgConfigureChannelizer().
|
virtual |
Definition at line 208 of file freedvdemod.cpp.
References DSPEngine::getAudioDeviceManager(), DSPEngine::instance(), m_audioFifo, m_channelizer, m_deviceAPI, m_networkManager, m_threadedChannelizer, networkManagerFinished(), AudioDeviceManager::removeAudioSink(), DeviceAPI::removeChannelSink(), DeviceAPI::removeChannelSinkAPI(), and SSBFilter.
Referenced by FreeDVDemod::MsgConfigureChannelizer::MsgConfigureChannelizer().
|
private |
Definition at line 539 of file freedvdemod.cpp.
References m_audioFifo, m_audioResampler, m_audioSampleRate, m_settingsMutex, m_speechSampleRate, AudioResampler::setAudioFilters(), AudioResampler::setDecimation(), and AudioFifo::setSize().
Referenced by applySettings(), FreeDVDemod(), and handleMessage().
|
private |
Definition at line 514 of file freedvdemod.cpp.
References Interpolator::create(), m_hiCutoff, m_inputFrequencyOffset, m_inputSampleRate, m_interpolator, m_interpolatorDistance, m_interpolatorDistanceRemain, m_modemSampleRate, m_nco, m_settingsMutex, and NCOF::setFreq().
Referenced by FreeDVDemod(), handleMessage(), and start().
|
private |
Definition at line 552 of file freedvdemod.cpp.
References DSPConfigureAudio::AudioOutput, Interpolator::create(), FreeDVDemod::MsgConfigureChannelizer::create(), fftfilt::create_filter(), FreeDVDemodSettings::FreeDVMode1600, FreeDVDemodSettings::FreeDVMode2400A, FreeDVDemodSettings::FreeDVMode700C, FreeDVDemodSettings::FreeDVMode700D, FreeDVDemodSettings::FreeDVMode800XA, FreeDVDemodSettings::getHiCutoff(), FreeDVDemodSettings::getLowCutoff(), BasebandSampleSink::getMessageQueueToGUI(), FreeDVDemodSettings::getModSampleRate(), FreeDVDemod::FreeDVStats::init(), FreeDVDemod::FreeDVStats::m_fps, m_freeDV, m_freeDVStats, m_hiCutoff, m_iModem, FreeDVDemodSettings::m_inputFrequencyOffset, BasebandSampleSink::m_inputMessageQueue, m_inputSampleRate, m_interpolator, m_interpolatorDistance, m_interpolatorDistanceRemain, m_iSpeech, m_levelInNbSamples, m_lowCutoff, m_modemSampleRate, m_modIn, m_nin, m_nMaxModemSamples, m_nSpeechSamples, m_settings, m_settingsMutex, m_simpleAGC, m_speechOut, MessageQueue::push(), SimpleAGC< AvgSize >::resizeNew(), and SSBFilter.
Referenced by applySettings().
|
private |
Definition at line 686 of file freedvdemod.cpp.
References AudioDeviceManager::addAudioSink(), applyAudioSampleRate(), applyFreeDVMode(), DSPEngine::getAudioDeviceManager(), BasebandSampleSink::getInputMessageQueue(), AudioDeviceManager::getOutputDeviceIndex(), AudioDeviceManager::getOutputSampleRate(), DSPEngine::instance(), FreeDVDemodSettings::m_agc, m_agcActive, FreeDVDemodSettings::m_audioDeviceName, m_audioFifo, FreeDVDemodSettings::m_audioMute, m_audioMute, m_audioSampleRate, FreeDVDemodSettings::m_freeDVMode, FreeDVDemodSettings::m_inputFrequencyOffset, FreeDVDemodSettings::m_reverseAPIAddress, FreeDVDemodSettings::m_reverseAPIChannelIndex, FreeDVDemodSettings::m_reverseAPIDeviceIndex, FreeDVDemodSettings::m_reverseAPIPort, m_settings, FreeDVDemodSettings::m_spanLog2, m_spanLog2, FreeDVDemodSettings::m_useReverseAPI, FreeDVDemodSettings::m_volume, m_volume, FreeDVDemodSettings::m_volumeIn, and webapiReverseSendSettings().
Referenced by FreeDVDemod(), and handleMessage().
void FreeDVDemod::configure | ( | MessageQueue * | messageQueue, |
Real | Bandwidth, | ||
Real | LowCutoff, | ||
Real | volume, | ||
int | spanLog2, | ||
bool | audioBinaural, | ||
bool | audioFlipChannels, | ||
bool | dsb, | ||
bool | audioMute, | ||
bool | agc, | ||
bool | agcClamping, | ||
int | agcTimeLog2, | ||
int | agcPowerThreshold, | ||
int | agcThresholdGate | ||
) |
Definition at line 221 of file freedvdemod.cpp.
References FreeDVDemod::MsgConfigureFreeDVDemodPrivate::create(), and MessageQueue::push().
Referenced by setSampleSink().
|
virtual |
Implements ChannelAPI.
Definition at line 787 of file freedvdemod.cpp.
References FreeDVDemod::MsgConfigureFreeDVDemod::create(), FreeDVDemodSettings::deserialize(), BasebandSampleSink::m_inputMessageQueue, m_settings, MessageQueue::push(), and FreeDVDemodSettings::resetToDefaults().
Referenced by getCenterFrequency().
|
inlinevirtual |
|
virtual |
Implements BasebandSampleSink.
Definition at line 253 of file freedvdemod.cpp.
References Interpolator::decimate(), BasebandSampleSink::feed(), Interpolator::interpolate(), m_audioBuffer, m_audioBufferFill, m_audioFifo, m_interpolator, m_interpolatorDistance, m_interpolatorDistanceRemain, m_nco, m_sampleBuffer, m_sampleSink, m_settingsMutex, m_spanLog2, NCOF::nextIQ(), processOneSample(), and AudioFifo::write().
Referenced by setSampleSink().
|
inline |
Definition at line 157 of file freedvdemod.h.
References m_audioActive.
Referenced by FreeDVDemodGUI::tick().
|
inline |
Definition at line 154 of file freedvdemod.h.
References m_audioSampleRate.
Referenced by FreeDVDemodGUI::applySettings(), and FreeDVDemodGUI::handleMessage().
|
inline |
Definition at line 178 of file freedvdemod.h.
References FreeDVDemod::FreeDVStats::m_ber, and m_freeDVStats.
Referenced by FreeDVDemodGUI::tick().
|
inlinevirtual |
Applies to a default stream.
Implements ChannelAPI.
Definition at line 139 of file freedvdemod.h.
References deserialize(), FreeDVDemodSettings::m_inputFrequencyOffset, FreeDVDemod::MsgConfigureFreeDVDemod::m_settings, and serialize().
|
inline |
Definition at line 179 of file freedvdemod.h.
References m_freeDVStats, and FreeDVDemod::FreeDVStats::m_freqOffset.
Referenced by FreeDVDemodGUI::tick().
|
inlinevirtual |
|
inline |
|
inline |
Definition at line 159 of file freedvdemod.h.
References getSNRLevels(), FreeDVDemod::MagSqLevelsStore::m_magsq, m_magsq, m_magsqCount, m_magSqLevelStore, FreeDVDemod::MagSqLevelsStore::m_magsqPeak, m_magsqPeak, and m_magsqSum.
Referenced by FreeDVDemodGUI::tick(), and webapiFormatChannelReport().
|
inline |
Definition at line 155 of file freedvdemod.h.
References m_modemSampleRate.
Referenced by FreeDVDemodGUI::displayBandwidths().
|
inlinevirtual |
|
inlinevirtual |
void FreeDVDemod::getSNRLevels | ( | double & | avg, |
double & | peak, | ||
int & | nbSamples | ||
) |
Definition at line 765 of file freedvdemod.cpp.
References CalcDb::dbPower(), m_freeDVSNR, FreeDVDemod::FreeDVSNR::m_n, FreeDVDemod::FreeDVSNR::m_peak, FreeDVDemod::FreeDVSNR::m_reset, and FreeDVDemod::FreeDVSNR::m_sum.
Referenced by getMagSqLevels(), and FreeDVDemodGUI::tick().
|
inlinevirtual |
Implements ChannelAPI.
Definition at line 147 of file freedvdemod.h.
References FreeDVDemodSettings::m_inputFrequencyOffset, and FreeDVDemod::MsgConfigureFreeDVDemod::m_settings.
|
inlinevirtual |
Implements ChannelAPI.
Definition at line 138 of file freedvdemod.h.
References FreeDVDemod::MsgConfigureFreeDVDemod::m_settings, and FreeDVDemodSettings::m_title.
|
virtual |
Processing of a message. Returns true if message has actually been processed.
Implements BasebandSampleSink.
Definition at line 372 of file freedvdemod.cpp.
References applyAudioSampleRate(), applyChannelSettings(), applySettings(), DownChannelizer::configure(), FreeDVDemod::MsgConfigureChannelizer::getCenterFrequency(), FreeDVDemod::MsgConfigureFreeDVDemod::getForce(), DownChannelizer::MsgChannelizerNotification::getFrequencyOffset(), BasebandSampleSink::getInputMessageQueue(), DownChannelizer::MsgChannelizerNotification::getSampleRate(), FreeDVDemod::MsgConfigureChannelizer::getSampleRate(), DSPConfigureAudio::getSampleRate(), FreeDVDemod::MsgConfigureFreeDVDemod::getSettings(), BasebandSampleSink::MsgThreadedSink::getThread(), BasebandSampleSink::handleMessage(), m_audioSampleRate, m_channelizer, m_freeDV, m_sampleSink, m_settingsMutex, and Message::match().
Referenced by setSampleSink().
|
inline |
Definition at line 180 of file freedvdemod.h.
References m_freeDVStats, FreeDVDemod::FreeDVStats::m_sync, webapiReportGet(), webapiSettingsGet(), and webapiSettingsPutPatch().
Referenced by FreeDVDemodGUI::tick().
|
signal |
Level changed
rmsLevel | RMS level in range 0.0 - 1.0 |
peakLevel | Peak level in range 0.0 - 1.0 |
numSamples | Number of audio samples analyzed |
Referenced by pushSampleToDV().
|
privateslot |
Definition at line 1017 of file freedvdemod.cpp.
Referenced by FreeDVDemod(), and ~FreeDVDemod().
|
private |
Definition at line 307 of file freedvdemod.cpp.
References SimpleAGC< AvgSize >::feed(), SimpleAGC< AvgSize >::getValue(), i, m_agcActive, m_magsq, m_magsqCount, m_magsqPeak, m_magsqSum, m_sampleBuffer, m_settings, m_simpleAGC, m_spanLog2, m_sum, m_undersampleCount, FreeDVDemodSettings::m_volumeIn, pushSampleToDV(), fftfilt::runSSB(), SDR_RX_SCALED, and SSBFilter.
Referenced by feed().
|
private |
Definition at line 496 of file freedvdemod.cpp.
References m_audioBuffer, m_audioBufferFill, m_audioFifo, m_volume, and AudioFifo::write().
Referenced by pushSampleToDV().
|
private |
Definition at line 450 of file freedvdemod.cpp.
References FreeDVDemod::FreeDVSNR::accumulate(), FreeDVDemod::LevelRMS::accumulate(), FreeDVDemod::FreeDVStats::collect(), AudioResampler::getDecimation(), i, levelInChanged(), FreeDVDemodSettings::m_audioMute, m_audioResampler, m_freeDV, m_freeDVSNR, m_freeDVStats, m_iModem, m_iSpeech, m_levelIn, m_levelInNbSamples, m_modIn, FreeDVDemod::LevelRMS::m_n, m_nin, FreeDVDemod::LevelRMS::m_peak, FreeDVDemod::LevelRMS::m_reset, m_settings, FreeDVDemod::FreeDVStats::m_snrEst, m_speechOut, FreeDVDemod::LevelRMS::m_sum, pushSampleToAudio(), sqrt(), and AudioResampler::upSample().
Referenced by processOneSample().
|
virtual |
Implements ChannelAPI.
Definition at line 782 of file freedvdemod.cpp.
References m_settings, and FreeDVDemodSettings::serialize().
Referenced by getCenterFrequency().
|
inline |
Definition at line 115 of file freedvdemod.h.
References configure(), feed(), handleMessage(), m_sampleSink, start(), and stop().
Referenced by FreeDVDemodGUI::FreeDVDemodGUI().
|
virtual |
Implements BasebandSampleSink.
Definition at line 363 of file freedvdemod.cpp.
References applyChannelSettings(), m_inputFrequencyOffset, and m_inputSampleRate.
Referenced by setSampleSink().
|
virtual |
Implements BasebandSampleSink.
Definition at line 368 of file freedvdemod.cpp.
Referenced by setSampleSink().
|
private |
Definition at line 943 of file freedvdemod.cpp.
References CalcDb::dbPower(), SWGSDRangel::SWGChannelReport::getFreeDvDemodReport(), getMagSqLevels(), m_audioActive, m_audioSampleRate, m_inputSampleRate, SWGSDRangel::SWGFreeDVDemodReport::setAudioSampleRate(), SWGSDRangel::SWGFreeDVDemodReport::setChannelPowerDb(), SWGSDRangel::SWGFreeDVDemodReport::setChannelSampleRate(), and SWGSDRangel::SWGFreeDVDemodReport::setSquelch().
Referenced by webapiReportGet().
|
private |
Definition at line 906 of file freedvdemod.cpp.
References SWGSDRangel::SWGFreeDVDemodSettings::getAudioDeviceName(), SWGSDRangel::SWGChannelSettings::getFreeDvDemodSettings(), SWGSDRangel::SWGFreeDVDemodSettings::getReverseApiAddress(), SWGSDRangel::SWGFreeDVDemodSettings::getTitle(), FreeDVDemodSettings::m_agc, FreeDVDemodSettings::m_audioDeviceName, FreeDVDemodSettings::m_audioMute, FreeDVDemodSettings::m_freeDVMode, FreeDVDemodSettings::m_inputFrequencyOffset, FreeDVDemodSettings::m_reverseAPIAddress, FreeDVDemodSettings::m_reverseAPIChannelIndex, FreeDVDemodSettings::m_reverseAPIDeviceIndex, FreeDVDemodSettings::m_reverseAPIPort, FreeDVDemodSettings::m_rgbColor, FreeDVDemodSettings::m_spanLog2, FreeDVDemodSettings::m_title, FreeDVDemodSettings::m_useReverseAPI, FreeDVDemodSettings::m_volume, FreeDVDemodSettings::m_volumeIn, SWGSDRangel::SWGFreeDVDemodSettings::setAgc(), SWGSDRangel::SWGFreeDVDemodSettings::setAudioDeviceName(), SWGSDRangel::SWGFreeDVDemodSettings::setAudioMute(), SWGSDRangel::SWGFreeDVDemodSettings::setFreeDvMode(), SWGSDRangel::SWGFreeDVDemodSettings::setInputFrequencyOffset(), SWGSDRangel::SWGFreeDVDemodSettings::setReverseApiAddress(), SWGSDRangel::SWGFreeDVDemodSettings::setReverseApiChannelIndex(), SWGSDRangel::SWGFreeDVDemodSettings::setReverseApiDeviceIndex(), SWGSDRangel::SWGFreeDVDemodSettings::setReverseApiPort(), SWGSDRangel::SWGFreeDVDemodSettings::setRgbColor(), SWGSDRangel::SWGFreeDVDemodSettings::setSpanLog2(), SWGSDRangel::SWGFreeDVDemodSettings::setTitle(), SWGSDRangel::SWGFreeDVDemodSettings::setUseReverseApi(), SWGSDRangel::SWGFreeDVDemodSettings::setVolume(), and SWGSDRangel::SWGFreeDVDemodSettings::setVolumeIn().
Referenced by webapiSettingsGet(), and webapiSettingsPutPatch().
|
virtual |
Reimplemented from ChannelAPI.
Definition at line 895 of file freedvdemod.cpp.
References SWGSDRangel::SWGChannelReport::getFreeDvDemodReport(), SWGSDRangel::SWGFreeDVDemodReport::init(), SWGSDRangel::SWGChannelReport::setFreeDvDemodReport(), and webapiFormatChannelReport().
Referenced by isSync().
|
private |
Definition at line 955 of file freedvdemod.cpp.
References SWGSDRangel::SWGChannelSettings::asJson(), ChannelAPI::getDeviceSetIndex(), SWGSDRangel::SWGChannelSettings::getFreeDvDemodSettings(), ChannelAPI::getIndexInDeviceSet(), FreeDVDemodSettings::m_agc, FreeDVDemodSettings::m_audioDeviceName, FreeDVDemodSettings::m_audioMute, FreeDVDemodSettings::m_freeDVMode, FreeDVDemodSettings::m_inputFrequencyOffset, m_networkManager, m_networkRequest, FreeDVDemodSettings::m_reverseAPIAddress, FreeDVDemodSettings::m_reverseAPIChannelIndex, FreeDVDemodSettings::m_reverseAPIDeviceIndex, FreeDVDemodSettings::m_reverseAPIPort, FreeDVDemodSettings::m_rgbColor, FreeDVDemodSettings::m_spanLog2, FreeDVDemodSettings::m_title, FreeDVDemodSettings::m_volume, FreeDVDemodSettings::m_volumeIn, SWGSDRangel::SWGFreeDVDemodSettings::setAgc(), SWGSDRangel::SWGFreeDVDemodSettings::setAudioDeviceName(), SWGSDRangel::SWGFreeDVDemodSettings::setAudioMute(), SWGSDRangel::SWGChannelSettings::setChannelType(), SWGSDRangel::SWGChannelSettings::setDirection(), SWGSDRangel::SWGChannelSettings::setFreeDvDemodSettings(), SWGSDRangel::SWGFreeDVDemodSettings::setFreeDvMode(), SWGSDRangel::SWGFreeDVDemodSettings::setInputFrequencyOffset(), SWGSDRangel::SWGChannelSettings::setOriginatorChannelIndex(), SWGSDRangel::SWGChannelSettings::setOriginatorDeviceSetIndex(), SWGSDRangel::SWGFreeDVDemodSettings::setRgbColor(), SWGSDRangel::SWGFreeDVDemodSettings::setSpanLog2(), SWGSDRangel::SWGFreeDVDemodSettings::setTitle(), SWGSDRangel::SWGFreeDVDemodSettings::setVolume(), and SWGSDRangel::SWGFreeDVDemodSettings::setVolumeIn().
Referenced by applySettings().
|
virtual |
Reimplemented from ChannelAPI.
Definition at line 804 of file freedvdemod.cpp.
References SWGSDRangel::SWGChannelSettings::getFreeDvDemodSettings(), SWGSDRangel::SWGFreeDVDemodSettings::init(), m_settings, SWGSDRangel::SWGChannelSettings::setFreeDvDemodSettings(), and webapiFormatChannelSettings().
Referenced by isSync().
|
virtual |
Reimplemented from ChannelAPI.
Definition at line 815 of file freedvdemod.cpp.
References FreeDVDemod::MsgConfigureFreeDVDemod::create(), FreeDVDemod::MsgConfigureChannelizer::create(), SWGSDRangel::SWGFreeDVDemodSettings::getAgc(), SWGSDRangel::SWGFreeDVDemodSettings::getAudioDeviceName(), SWGSDRangel::SWGFreeDVDemodSettings::getAudioMute(), SWGSDRangel::SWGChannelSettings::getFreeDvDemodSettings(), SWGSDRangel::SWGFreeDVDemodSettings::getFreeDvMode(), SWGSDRangel::SWGFreeDVDemodSettings::getInputFrequencyOffset(), SWGSDRangel::SWGFreeDVDemodSettings::getReverseApiAddress(), SWGSDRangel::SWGFreeDVDemodSettings::getReverseApiChannelIndex(), SWGSDRangel::SWGFreeDVDemodSettings::getReverseApiDeviceIndex(), SWGSDRangel::SWGFreeDVDemodSettings::getReverseApiPort(), SWGSDRangel::SWGFreeDVDemodSettings::getRgbColor(), SWGSDRangel::SWGFreeDVDemodSettings::getSpanLog2(), SWGSDRangel::SWGFreeDVDemodSettings::getTitle(), SWGSDRangel::SWGFreeDVDemodSettings::getUseReverseApi(), SWGSDRangel::SWGFreeDVDemodSettings::getVolume(), SWGSDRangel::SWGFreeDVDemodSettings::getVolumeIn(), FreeDVDemodSettings::m_agc, FreeDVDemodSettings::m_audioDeviceName, FreeDVDemodSettings::m_audioMute, FreeDVDemodSettings::m_freeDVMode, BasebandSampleSink::m_guiMessageQueue, FreeDVDemodSettings::m_inputFrequencyOffset, BasebandSampleSink::m_inputMessageQueue, m_modemSampleRate, FreeDVDemodSettings::m_reverseAPIAddress, FreeDVDemodSettings::m_reverseAPIChannelIndex, FreeDVDemodSettings::m_reverseAPIDeviceIndex, FreeDVDemodSettings::m_reverseAPIPort, FreeDVDemodSettings::m_rgbColor, m_settings, FreeDVDemodSettings::m_spanLog2, FreeDVDemodSettings::m_title, FreeDVDemodSettings::m_useReverseAPI, FreeDVDemodSettings::m_volume, FreeDVDemodSettings::m_volumeIn, MessageQueue::push(), and webapiFormatChannelSettings().
Referenced by isSync().
|
private |
Definition at line 376 of file freedvdemod.h.
Referenced by applySettings(), FreeDVDemod(), and processOneSample().
|
private |
True if an audio signal is produced (no AGC or AGC and above threshold)
Definition at line 378 of file freedvdemod.h.
Referenced by FreeDVDemod(), getAudioActive(), and webapiFormatChannelReport().
|
private |
Definition at line 389 of file freedvdemod.h.
Referenced by feed(), FreeDVDemod(), and pushSampleToAudio().
|
private |
Definition at line 390 of file freedvdemod.h.
Referenced by feed(), FreeDVDemod(), and pushSampleToAudio().
|
private |
Definition at line 391 of file freedvdemod.h.
Referenced by applyAudioSampleRate(), applySettings(), feed(), FreeDVDemod(), pushSampleToAudio(), and ~FreeDVDemod().
|
private |
Definition at line 369 of file freedvdemod.h.
Referenced by applySettings(), FreeDVDemod(), and FreeDVDemod::MsgConfigureFreeDVDemodPrivate::getAudioMute().
|
private |
Definition at line 404 of file freedvdemod.h.
Referenced by applyAudioSampleRate(), and pushSampleToDV().
|
private |
Definition at line 367 of file freedvdemod.h.
Referenced by applyAudioSampleRate(), applySettings(), getAudioSampleRate(), handleMessage(), and webapiFormatChannelReport().
|
static |
Definition at line 197 of file freedvdemod.h.
Referenced by FreeDVDemod(), and FreeDVPlugin::initPlugin().
|
static |
Definition at line 196 of file freedvdemod.h.
Referenced by FreeDVDemodGUI::FreeDVDemodGUI(), and FreeDVPlugin::initPlugin().
|
private |
Definition at line 355 of file freedvdemod.h.
Referenced by FreeDVDemod(), handleMessage(), and ~FreeDVDemod().
|
private |
Definition at line 353 of file freedvdemod.h.
Referenced by FreeDVDemod(), and ~FreeDVDemod().
|
private |
Definition at line 396 of file freedvdemod.h.
Referenced by applyFreeDVMode(), FreeDVDemod(), handleMessage(), and pushSampleToDV().
|
private |
Definition at line 406 of file freedvdemod.h.
Referenced by getSNRLevels(), and pushSampleToDV().
|
private |
Definition at line 405 of file freedvdemod.h.
Referenced by applyFreeDVMode(), getBER(), getFrequencyOffset(), isSync(), and pushSampleToDV().
|
private |
Definition at line 358 of file freedvdemod.h.
Referenced by applyChannelSettings(), applyFreeDVMode(), and FreeDVDemod().
|
private |
Definition at line 401 of file freedvdemod.h.
Referenced by applyFreeDVMode(), FreeDVDemod(), and pushSampleToDV().
|
private |
Definition at line 368 of file freedvdemod.h.
Referenced by applyChannelSettings(), FreeDVDemod(), and start().
|
private |
Definition at line 364 of file freedvdemod.h.
Referenced by applyChannelSettings(), applyFreeDVMode(), FreeDVDemod(), start(), and webapiFormatChannelReport().
|
private |
Definition at line 381 of file freedvdemod.h.
Referenced by applyChannelSettings(), applyFreeDVMode(), and feed().
|
private |
Definition at line 382 of file freedvdemod.h.
Referenced by applyChannelSettings(), applyFreeDVMode(), and feed().
|
private |
Definition at line 383 of file freedvdemod.h.
Referenced by applyChannelSettings(), applyFreeDVMode(), and feed().
|
private |
Definition at line 400 of file freedvdemod.h.
Referenced by applyFreeDVMode(), FreeDVDemod(), and pushSampleToDV().
|
private |
Definition at line 407 of file freedvdemod.h.
Referenced by pushSampleToDV().
|
private |
Definition at line 408 of file freedvdemod.h.
Referenced by applyFreeDVMode(), FreeDVDemod(), and pushSampleToDV().
|
private |
Definition at line 359 of file freedvdemod.h.
Referenced by applyFreeDVMode(), and FreeDVDemod().
|
private |
Definition at line 370 of file freedvdemod.h.
Referenced by FreeDVDemod(), getMagSq(), getMagSqLevels(), and processOneSample().
|
private |
Definition at line 373 of file freedvdemod.h.
Referenced by FreeDVDemod(), getMagSqLevels(), and processOneSample().
|
private |
Definition at line 374 of file freedvdemod.h.
Referenced by getMagSqLevels().
|
private |
Definition at line 372 of file freedvdemod.h.
Referenced by FreeDVDemod(), getMagSqLevels(), and processOneSample().
|
private |
Definition at line 371 of file freedvdemod.h.
Referenced by FreeDVDemod(), getMagSqLevels(), and processOneSample().
|
private |
Definition at line 365 of file freedvdemod.h.
Referenced by applyChannelSettings(), applyFreeDVMode(), FreeDVDemod(), getModemSampleRate(), and webapiSettingsPutPatch().
|
private |
Definition at line 403 of file freedvdemod.h.
Referenced by applyFreeDVMode(), FreeDVDemod(), and pushSampleToDV().
|
private |
Definition at line 380 of file freedvdemod.h.
Referenced by applyChannelSettings(), and feed().
|
private |
Definition at line 393 of file freedvdemod.h.
Referenced by FreeDVDemod(), webapiReverseSendSettings(), and ~FreeDVDemod().
|
private |
Definition at line 394 of file freedvdemod.h.
Referenced by webapiReverseSendSettings().
|
private |
Definition at line 399 of file freedvdemod.h.
Referenced by applyFreeDVMode(), and pushSampleToDV().
|
private |
Definition at line 398 of file freedvdemod.h.
Referenced by applyFreeDVMode(), and FreeDVDemod().
|
private |
Definition at line 397 of file freedvdemod.h.
Referenced by applyFreeDVMode(), and FreeDVDemod().
|
private |
Definition at line 387 of file freedvdemod.h.
Referenced by feed(), and processOneSample().
|
private |
Definition at line 386 of file freedvdemod.h.
Referenced by feed(), FreeDVDemod(), handleMessage(), and setSampleSink().
|
private |
Definition at line 356 of file freedvdemod.h.
Referenced by applyFreeDVMode(), applySettings(), deserialize(), FreeDVDemod(), processOneSample(), pushSampleToDV(), serialize(), webapiSettingsGet(), and webapiSettingsPutPatch().
|
private |
Definition at line 410 of file freedvdemod.h.
Referenced by applyAudioSampleRate(), applyChannelSettings(), applyFreeDVMode(), feed(), FreeDVDemod(), and handleMessage().
|
private |
Definition at line 375 of file freedvdemod.h.
Referenced by applyFreeDVMode(), FreeDVDemod(), and processOneSample().
|
private |
Definition at line 361 of file freedvdemod.h.
Referenced by applySettings(), feed(), FreeDVDemod::MsgConfigureFreeDVDemodPrivate::getSpanLog2(), and processOneSample().
|
private |
Definition at line 402 of file freedvdemod.h.
Referenced by applyFreeDVMode(), FreeDVDemod(), and pushSampleToDV().
|
private |
Definition at line 366 of file freedvdemod.h.
Referenced by applyAudioSampleRate(), and FreeDVDemod().
|
private |
Definition at line 377 of file freedvdemod.h.
Referenced by FreeDVDemod().
|
private |
Definition at line 362 of file freedvdemod.h.
Referenced by FreeDVDemod::FreeDVSNR::accumulate(), FreeDVDemod::LevelRMS::accumulate(), FreeDVDemod::FreeDVSNR::FreeDVSNR(), FreeDVDemod::LevelRMS::LevelRMS(), and processOneSample().
|
private |
Definition at line 354 of file freedvdemod.h.
Referenced by FreeDVDemod(), and ~FreeDVDemod().
|
private |
Definition at line 363 of file freedvdemod.h.
Referenced by FreeDVDemod(), and processOneSample().
|
private |
Definition at line 360 of file freedvdemod.h.
Referenced by applySettings(), FreeDVDemod::MsgConfigureFreeDVDemodPrivate::getVolume(), and pushSampleToAudio().
|
private |
Definition at line 384 of file freedvdemod.h.
Referenced by applyFreeDVMode(), FreeDVDemod(), processOneSample(), and ~FreeDVDemod().