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 <ssbmod.h>
Classes | |
class | MsgConfigureChannelizer |
class | MsgConfigureFileSourceName |
class | MsgConfigureFileSourceSeek |
class | MsgConfigureFileSourceStreamTiming |
class | MsgConfigureSSBMod |
class | MsgReportFileSourceStreamData |
class | MsgReportFileSourceStreamTiming |
Signals | |
void | levelChanged (qreal rmsLevel, qreal peakLevel, int numSamples) |
Public Member Functions | |
SSBMod (DeviceAPI *deviceAPI) | |
~SSBMod () | |
virtual void | destroy () |
void | setSpectrumSampleSink (BasebandSampleSink *sampleSink) |
virtual void | pull (Sample &sample) |
virtual void | pullAudio (int nbSamples) |
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 |
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) |
uint32_t | getAudioSampleRate () const |
double | getMagSq () const |
CWKeyer * | getCWKeyer () |
Public Member Functions inherited from BasebandSampleSource | |
BasebandSampleSource () | |
virtual | ~BasebandSampleSource () |
void | feed (SampleSourceFifo *sampleFifo, int nbSamples) |
SampleSourceFifo & | getSampleSourceFifo () |
MessageQueue * | getInputMessageQueue () |
Get the queue for asynchronous inbound communication. More... | |
virtual void | setMessageQueueToGUI (MessageQueue *queue) |
MessageQueue * | getMessageQueueToGUI () |
void | setDeviceSampleSourceFifo (SampleSourceFifo *deviceSampleFifo) |
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.channeltx.modssb" |
static const QString | m_channelId = "SSBMod" |
Private Types | |
enum | RateState { RSInitialFill, RSRunning } |
Private Slots | |
void | networkManagerFinished (QNetworkReply *reply) |
Private Member Functions | |
void | applyAudioSampleRate (int sampleRate) |
void | applyFeedbackAudioSampleRate (unsigned int sampleRate) |
void | processOneSample (Complex &ci) |
void | applyChannelSettings (int basebandSampleRate, int outputSampleRate, int inputFrequencyOffset, bool force=false) |
void | applySettings (const SSBModSettings &settings, bool force=false) |
void | pullAF (Complex &sample) |
void | pushFeedback (Complex sample) |
void | calculateLevel (Complex &sample) |
void | modulateSample () |
void | openFileStream () |
void | seekFileStream (int seekPercentage) |
void | webapiFormatChannelSettings (SWGSDRangel::SWGChannelSettings &response, const SSBModSettings &settings) |
void | webapiFormatChannelReport (SWGSDRangel::SWGChannelReport &response) |
void | webapiReverseSendSettings (QList< QString > &channelSettingsKeys, const SSBModSettings &settings, bool force) |
void | webapiReverseSendCWSettings (const CWKeyerSettings &settings) |
Static Private Attributes | |
static const int | m_ssbFftLen = 1024 |
static const int | m_levelNbSamples = 480 |
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 BasebandSampleSource | |
void | handleInputMessages () |
void | handleWriteToFifo (int nbSamples) |
void | handleWriteToDeviceFifo (int nbSamples) |
Protected Member Functions inherited from BasebandSampleSource | |
void | handleWriteToFifo (SampleSourceFifo *sampleFifo, int nbSamples) |
Protected Attributes inherited from BasebandSampleSource | |
MessageQueue | m_inputMessageQueue |
Queue for asynchronous inbound communication. More... | |
MessageQueue * | m_guiMessageQueue |
Input message queue to the GUI. More... | |
SampleSourceFifo | m_sampleFifo |
Internal FIFO for multi-channel processing. More... | |
SampleSourceFifo * | m_deviceSampleFifo |
Reference to the device FIFO for single channel processing. More... | |
|
private |
Enumerator | |
---|---|
RSInitialFill | |
RSRunning |
Definition at line 268 of file ssbmod.h.
SSBMod::SSBMod | ( | DeviceAPI * | deviceAPI | ) |
Definition at line 55 of file ssbmod.cpp.
References AudioDeviceManager::addAudioSink(), AudioDeviceManager::addAudioSource(), DeviceAPI::addChannelSource(), DeviceAPI::addChannelSourceAPI(), applyChannelSettings(), applyFeedbackAudioSampleRate(), applySettings(), DSPEngine::getAudioDeviceManager(), BasebandSampleSource::getInputMessageQueue(), AudioDeviceManager::getInputSampleRate(), AudioDeviceManager::getOutputSampleRate(), AudioCompressorSnd::initSimple(), DSPEngine::instance(), m_audioBuffer, m_audioBufferFill, m_audioCompressor, m_audioFifo, m_audioSampleRate, SSBModSettings::m_bandwidth, m_basebandSampleRate, m_channelId, m_channelizer, m_cwKeyer, m_deviceAPI, m_DSBFilter, m_DSBFilterBuffer, m_feedbackAudioBuffer, m_feedbackAudioBufferFill, m_feedbackAudioFifo, m_feedbackAudioSampleRate, m_inputFrequencyOffset, SSBModSettings::m_lowCutoff, m_magsq, m_networkManager, m_outputSampleRate, m_settings, m_ssbFftLen, m_SSBFilter, m_SSBFilterBuffer, m_sum, m_sumCount, m_threadedChannelizer, m_toneNco, m_undersampleCount, networkManagerFinished(), CWKeyer::reset(), NCOF::setFreq(), and CWKeyer::setSampleRate().
Referenced by SSBMod::MsgReportFileSourceStreamData::MsgReportFileSourceStreamData().
SSBMod::~SSBMod | ( | ) |
Definition at line 136 of file ssbmod.cpp.
References DSPEngine::getAudioDeviceManager(), DSPEngine::instance(), m_audioFifo, m_channelizer, m_deviceAPI, m_DSBFilter, m_DSBFilterBuffer, m_feedbackAudioFifo, m_networkManager, m_SSBFilter, m_SSBFilterBuffer, m_threadedChannelizer, networkManagerFinished(), AudioDeviceManager::removeAudioSink(), AudioDeviceManager::removeAudioSource(), DeviceAPI::removeChannelSource(), and DeviceAPI::removeChannelSourceAPI().
Referenced by SSBMod::MsgReportFileSourceStreamData::MsgReportFileSourceStreamData().
|
private |
Definition at line 738 of file ssbmod.cpp.
References applyFeedbackAudioSampleRate(), DSPConfigureAudio::AudioInput, Interpolator::create(), SSBMod::MsgConfigureChannelizer::create(), fftfilt::create_dsb_filter(), fftfilt::create_filter(), BasebandSampleSource::getMessageQueueToGUI(), AudioCompressorSnd::initState(), m_audioCompressor, m_audioSampleRate, SSBModSettings::m_bandwidth, m_cwKeyer, m_DSBFilter, m_feedbackAudioSampleRate, SSBModSettings::m_inputFrequencyOffset, BasebandSampleSource::m_inputMessageQueue, m_interpolator, m_interpolatorConsumed, m_interpolatorDistance, m_interpolatorDistanceRemain, SSBModSettings::m_lowCutoff, m_outputSampleRate, AudioCompressorSnd::m_rate, m_settings, m_settingsMutex, m_SSBFilter, SSBModSettings::m_toneFrequency, m_toneNco, SSBModSettings::m_usb, MessageQueue::push(), NCOF::setFreq(), and CWKeyer::setSampleRate().
Referenced by applySettings(), and handleMessage().
|
private |
Definition at line 811 of file ssbmod.cpp.
References Interpolator::create(), m_audioSampleRate, SSBModSettings::m_bandwidth, m_basebandSampleRate, m_carrierNco, m_inputFrequencyOffset, m_interpolator, m_interpolatorConsumed, m_interpolatorDistance, m_interpolatorDistanceRemain, m_outputSampleRate, m_settings, m_settingsMutex, and NCOF::setFreq().
Referenced by handleMessage(), SSBMod(), and start().
|
private |
Definition at line 794 of file ssbmod.cpp.
References Interpolator::create(), m_audioSampleRate, m_feedbackAudioSampleRate, m_feedbackInterpolator, m_feedbackInterpolatorConsumed, m_feedbackInterpolatorDistance, m_feedbackInterpolatorDistanceRemain, m_settingsMutex, and leansdr::min().
Referenced by applyAudioSampleRate(), applySettings(), handleMessage(), and SSBMod().
|
private |
Definition at line 841 of file ssbmod.cpp.
References AudioDeviceManager::addAudioSink(), AudioDeviceManager::addAudioSource(), applyAudioSampleRate(), applyFeedbackAudioSampleRate(), Interpolator::create(), fftfilt::create_dsb_filter(), fftfilt::create_filter(), DSPEngine::getAudioDeviceManager(), AudioDeviceManager::getInputDeviceIndex(), BasebandSampleSource::getInputMessageQueue(), AudioDeviceManager::getInputSampleRate(), AudioDeviceManager::getOutputDeviceIndex(), AudioDeviceManager::getOutputSampleRate(), DSPEngine::instance(), SSBModSettings::m_agc, SSBModSettings::m_audioBinaural, SSBModSettings::m_audioDeviceName, m_audioFifo, SSBModSettings::m_audioFlipChannels, SSBModSettings::m_audioMute, m_audioSampleRate, SSBModSettings::m_bandwidth, SSBModSettings::m_dsb, m_DSBFilter, m_DSBFilterBuffer, m_DSBFilterBufferIndex, SSBModSettings::m_feedbackAudioDeviceName, m_feedbackAudioFifo, m_feedbackAudioSampleRate, SSBModSettings::m_inputFrequencyOffset, m_interpolator, m_interpolatorConsumed, m_interpolatorDistance, m_interpolatorDistanceRemain, SSBModSettings::m_lowCutoff, SSBModSettings::m_modAFInput, m_outputSampleRate, SSBModSettings::m_playLoop, SSBModSettings::m_reverseAPIAddress, SSBModSettings::m_reverseAPIChannelIndex, SSBModSettings::m_reverseAPIDeviceIndex, SSBModSettings::m_reverseAPIPort, SSBModSettings::m_rgbColor, m_settings, m_settingsMutex, SSBModSettings::m_spanLog2, m_ssbFftLen, m_SSBFilter, m_SSBFilterBuffer, m_SSBFilterBufferIndex, SSBModSettings::m_title, SSBModSettings::m_toneFrequency, m_toneNco, SSBModSettings::m_usb, SSBModSettings::m_useReverseAPI, SSBModSettings::m_volumeFactor, NCOF::setFreq(), and webapiReverseSendSettings().
Referenced by handleMessage(), and SSBMod().
|
private |
Definition at line 555 of file ssbmod.cpp.
References levelChanged(), m_levelCalcCount, m_levelNbSamples, m_levelSum, m_peakLevel, leansdr::max(), and sqrt().
Referenced by modulateSample().
|
virtual |
Implements ChannelAPI.
Definition at line 993 of file ssbmod.cpp.
References SSBMod::MsgConfigureSSBMod::create(), SSBModSettings::deserialize(), BasebandSampleSource::m_inputMessageQueue, m_settings, MessageQueue::push(), and SSBModSettings::resetToDefaults().
Referenced by getCenterFrequency().
|
inlinevirtual |
|
inline |
Definition at line 249 of file ssbmod.h.
References m_audioSampleRate.
Referenced by SSBModGUI::applyBandwidths(), and SSBModGUI::handleMessage().
|
inlinevirtual |
Applies to a default stream.
Implements ChannelAPI.
Definition at line 220 of file ssbmod.h.
References deserialize(), SSBModSettings::m_inputFrequencyOffset, SSBMod::MsgConfigureSSBMod::m_settings, and serialize().
|
inline |
Definition at line 252 of file ssbmod.h.
References m_cwKeyer.
Referenced by SSBModGUI::SSBModGUI().
|
inlinevirtual |
|
inline |
Definition at line 250 of file ssbmod.h.
References m_magsq.
Referenced by SSBModGUI::tick(), and webapiFormatChannelReport().
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
Implements ChannelAPI.
Definition at line 228 of file ssbmod.h.
References SSBModSettings::m_inputFrequencyOffset, SSBMod::MsgConfigureSSBMod::m_settings, webapiReportGet(), webapiSettingsGet(), and webapiSettingsPutPatch().
|
inlinevirtual |
Implements ChannelAPI.
Definition at line 219 of file ssbmod.h.
References SSBMod::MsgConfigureSSBMod::m_settings, and SSBModSettings::m_title.
|
virtual |
Processing of a message. Returns true if message has actually been processed.
Implements BasebandSampleSource.
Definition at line 589 of file ssbmod.cpp.
References applyAudioSampleRate(), applyChannelSettings(), applyFeedbackAudioSampleRate(), applySettings(), DSPConfigureAudio::AudioInput, DSPConfigureAudio::AudioOutput, UpChannelizer::configure(), SSBMod::MsgReportFileSourceStreamTiming::create(), DSPConfigureAudio::getAudioType(), UpChannelizer::MsgChannelizerNotification::getBasebandSampleRate(), SSBMod::MsgConfigureChannelizer::getCenterFrequency(), SSBMod::MsgConfigureFileSourceName::getFileName(), SSBMod::MsgConfigureSSBMod::getForce(), UpChannelizer::MsgChannelizerNotification::getFrequencyOffset(), BasebandSampleSource::getInputMessageQueue(), BasebandSampleSource::getMessageQueueToGUI(), SSBMod::MsgConfigureFileSourceSeek::getPercentage(), UpChannelizer::MsgChannelizerNotification::getSampleRate(), SSBMod::MsgConfigureChannelizer::getSampleRate(), DSPConfigureAudio::getSampleRate(), SSBMod::MsgConfigureSSBMod::getSettings(), CWKeyer::MsgConfigureCWKeyer::getSettings(), m_audioSampleRate, m_channelizer, m_fileName, m_fileSize, m_ifstream, m_settings, SSBModSettings::m_useReverseAPI, Message::match(), openFileStream(), MessageQueue::push(), seekFileStream(), and webapiReverseSendCWSettings().
Referenced by setSpectrumSampleSink().
|
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 calculateLevel().
|
private |
Definition at line 207 of file ssbmod.cpp.
References calculateLevel(), m_audioBufferFill, SSBModSettings::m_feedbackAudioEnable, SSBModSettings::m_feedbackVolumeFactor, m_modSample, m_settings, pullAF(), and pushFeedback().
Referenced by pull().
|
privateslot |
Definition at line 1329 of file ssbmod.cpp.
Referenced by SSBMod(), and ~SSBMod().
|
private |
Definition at line 700 of file ssbmod.cpp.
References SSBMod::MsgReportFileSourceStreamData::create(), BasebandSampleSource::getMessageQueueToGUI(), m_fileName, m_fileSize, m_ifstream, m_recordLength, m_sampleRate, and MessageQueue::push().
Referenced by handleMessage().
|
private |
Definition at line 534 of file ssbmod.cpp.
References AudioFifo::clear(), m_feedbackAudioBuffer, m_feedbackAudioBufferFill, m_feedbackAudioFifo, m_feedbackInterpolatorDistance, and AudioFifo::write().
Referenced by pushFeedback().
|
virtual |
Implements BasebandSampleSource.
Definition at line 155 of file ssbmod.cpp.
References MovingAverageUtil< T, Total, N >::asDouble(), Interpolator::decimate(), Interpolator::interpolate(), m_carrierNco, Sample::m_imag, m_interpolator, m_interpolatorDistance, m_interpolatorDistanceRemain, m_magsq, m_modSample, m_movingAverage, Sample::m_real, m_settingsMutex, modulateSample(), NCOF::nextIQ(), SDR_TX_SCALED, and SDR_TX_SCALEF.
Referenced by setSpectrumSampleSink().
|
private |
Definition at line 219 of file ssbmod.cpp.
References AudioCompressorSnd::compress(), BasebandSampleSink::feed(), CWKeyer::getCWSmoother(), CWSmoother::getFadeSample(), CWKeyer::getSample(), i, SSBModSettings::m_agc, SSBModSettings::m_audioBinaural, m_audioBuffer, m_audioBufferFill, m_audioCompressor, SSBModSettings::m_audioFlipChannels, SSBModSettings::m_audioMute, m_cwKeyer, SSBModSettings::m_dsb, m_DSBFilter, m_DSBFilterBuffer, m_DSBFilterBufferIndex, m_ifstream, SSBModSettings::m_modAFInput, SSBModSettings::m_playLoop, m_sampleBuffer, m_sampleSink, m_settings, SSBModSettings::m_spanLog2, m_ssbFftLen, m_SSBFilter, m_SSBFilterBuffer, m_SSBFilterBufferIndex, m_sum, m_sumCount, m_toneNco, m_undersampleCount, SSBModSettings::m_usb, SSBModSettings::m_volumeFactor, NCOF::next(), NCOF::nextIQ(), NCOF::nextQI(), fftfilt::runDSB(), fftfilt::runSSB(), SDR_TX_SCALEF, NCOF::setPhase(), SSBModSettings::SSBModInputAudio, SSBModSettings::SSBModInputCWTone, SSBModSettings::SSBModInputFile, SSBModSettings::SSBModInputNone, and SSBModSettings::SSBModInputTone.
Referenced by modulateSample().
|
virtual |
Reimplemented from BasebandSampleSource.
Definition at line 194 of file ssbmod.cpp.
References m_audioBuffer, m_audioBufferFill, m_audioFifo, m_audioSampleRate, m_basebandSampleRate, and AudioFifo::read().
Referenced by setSpectrumSampleSink().
|
private |
Definition at line 512 of file ssbmod.cpp.
References Interpolator::decimate(), Interpolator::interpolate(), m_feedbackInterpolator, m_feedbackInterpolatorDistance, m_feedbackInterpolatorDistanceRemain, and processOneSample().
Referenced by modulateSample().
|
private |
Definition at line 725 of file ssbmod.cpp.
References m_ifstream, m_recordLength, m_sampleRate, and m_settingsMutex.
Referenced by handleMessage().
|
virtual |
Implements ChannelAPI.
Definition at line 988 of file ssbmod.cpp.
References m_settings, and SSBModSettings::serialize().
Referenced by getCenterFrequency().
|
inline |
Definition at line 210 of file ssbmod.h.
References handleMessage(), m_sampleSink, pull(), pullAudio(), start(), and stop().
Referenced by SSBModGUI::SSBModGUI().
|
virtual |
Implements BasebandSampleSource.
Definition at line 576 of file ssbmod.cpp.
References applyChannelSettings(), AudioFifo::clear(), m_audioFifo, m_basebandSampleRate, SSBModSettings::m_inputFrequencyOffset, m_inputFrequencyOffset, m_outputSampleRate, and m_settings.
Referenced by setSpectrumSampleSink().
|
virtual |
Implements BasebandSampleSource.
Definition at line 585 of file ssbmod.cpp.
Referenced by setSpectrumSampleSink().
|
private |
Definition at line 1200 of file ssbmod.cpp.
References CalcDb::dbPower(), getMagSq(), SWGSDRangel::SWGChannelReport::getSsbModReport(), m_audioSampleRate, m_outputSampleRate, SWGSDRangel::SWGSSBModReport::setAudioSampleRate(), SWGSDRangel::SWGSSBModReport::setChannelPowerDb(), and SWGSDRangel::SWGSSBModReport::setChannelSampleRate().
Referenced by webapiReportGet().
|
private |
Definition at line 1148 of file ssbmod.cpp.
References SWGSDRangel::SWGSSBModSettings::getAudioDeviceName(), SWGSDRangel::SWGSSBModSettings::getCwKeyer(), SWGSDRangel::SWGSSBModSettings::getReverseApiAddress(), CWKeyer::getSettings(), SWGSDRangel::SWGChannelSettings::getSsbModSettings(), SWGSDRangel::SWGSSBModSettings::getTitle(), SSBModSettings::m_agc, SSBModSettings::m_audioBinaural, SSBModSettings::m_audioDeviceName, SSBModSettings::m_audioFlipChannels, SSBModSettings::m_audioMute, SSBModSettings::m_bandwidth, m_cwKeyer, SSBModSettings::m_dsb, SSBModSettings::m_inputFrequencyOffset, SSBModSettings::m_lowCutoff, SSBModSettings::m_modAFInput, SSBModSettings::m_playLoop, SSBModSettings::m_reverseAPIAddress, SSBModSettings::m_reverseAPIChannelIndex, SSBModSettings::m_reverseAPIDeviceIndex, SSBModSettings::m_reverseAPIPort, SSBModSettings::m_rgbColor, SSBModSettings::m_spanLog2, SSBModSettings::m_title, SSBModSettings::m_toneFrequency, SSBModSettings::m_usb, SSBModSettings::m_useReverseAPI, SSBModSettings::m_volumeFactor, SWGSDRangel::SWGSSBModSettings::setAgc(), SWGSDRangel::SWGSSBModSettings::setAudioBinaural(), SWGSDRangel::SWGSSBModSettings::setAudioDeviceName(), SWGSDRangel::SWGSSBModSettings::setAudioFlipChannels(), SWGSDRangel::SWGSSBModSettings::setAudioMute(), SWGSDRangel::SWGSSBModSettings::setBandwidth(), SWGSDRangel::SWGSSBModSettings::setCwKeyer(), SWGSDRangel::SWGSSBModSettings::setDsb(), SWGSDRangel::SWGSSBModSettings::setInputFrequencyOffset(), SWGSDRangel::SWGSSBModSettings::setLowCutoff(), SWGSDRangel::SWGSSBModSettings::setModAfInput(), SWGSDRangel::SWGSSBModSettings::setPlayLoop(), SWGSDRangel::SWGSSBModSettings::setReverseApiAddress(), SWGSDRangel::SWGSSBModSettings::setReverseApiChannelIndex(), SWGSDRangel::SWGSSBModSettings::setReverseApiDeviceIndex(), SWGSDRangel::SWGSSBModSettings::setReverseApiPort(), SWGSDRangel::SWGSSBModSettings::setRgbColor(), SWGSDRangel::SWGSSBModSettings::setSpanLog2(), SWGSDRangel::SWGSSBModSettings::setTitle(), SWGSDRangel::SWGSSBModSettings::setToneFrequency(), SWGSDRangel::SWGSSBModSettings::setUsb(), SWGSDRangel::SWGSSBModSettings::setUseReverseApi(), SWGSDRangel::SWGSSBModSettings::setVolumeFactor(), and CWKeyer::webapiFormatChannelSettings().
Referenced by webapiSettingsGet(), and webapiSettingsPutPatch().
|
virtual |
Reimplemented from ChannelAPI.
Definition at line 1137 of file ssbmod.cpp.
References SWGSDRangel::SWGChannelReport::getSsbModReport(), SWGSDRangel::SWGSSBModReport::init(), SWGSDRangel::SWGChannelReport::setSsbModReport(), and webapiFormatChannelReport().
Referenced by getStreamCenterFrequency().
|
private |
Definition at line 1298 of file ssbmod.cpp.
References SWGSDRangel::SWGChannelSettings::asJson(), SWGSDRangel::SWGSSBModSettings::getCwKeyer(), SWGSDRangel::SWGChannelSettings::getSsbModSettings(), m_cwKeyer, m_networkManager, m_networkRequest, SSBModSettings::m_reverseAPIAddress, SSBModSettings::m_reverseAPIChannelIndex, SSBModSettings::m_reverseAPIDeviceIndex, SSBModSettings::m_reverseAPIPort, m_settings, SWGSDRangel::SWGChannelSettings::setChannelType(), SWGSDRangel::SWGSSBModSettings::setCwKeyer(), SWGSDRangel::SWGChannelSettings::setDirection(), SWGSDRangel::SWGChannelSettings::setSsbModSettings(), and CWKeyer::webapiFormatChannelSettings().
Referenced by handleMessage().
|
private |
Definition at line 1207 of file ssbmod.cpp.
References SWGSDRangel::SWGChannelSettings::asJson(), SWGSDRangel::SWGSSBModSettings::getCwKeyer(), ChannelAPI::getDeviceSetIndex(), ChannelAPI::getIndexInDeviceSet(), CWKeyer::getSettings(), SWGSDRangel::SWGChannelSettings::getSsbModSettings(), SSBModSettings::m_agc, SSBModSettings::m_audioBinaural, SSBModSettings::m_audioDeviceName, SSBModSettings::m_audioFlipChannels, SSBModSettings::m_audioMute, SSBModSettings::m_bandwidth, m_cwKeyer, SSBModSettings::m_dsb, SSBModSettings::m_inputFrequencyOffset, SSBModSettings::m_lowCutoff, SSBModSettings::m_modAFInput, m_networkManager, m_networkRequest, SSBModSettings::m_playLoop, SSBModSettings::m_reverseAPIAddress, SSBModSettings::m_reverseAPIChannelIndex, SSBModSettings::m_reverseAPIDeviceIndex, SSBModSettings::m_reverseAPIPort, SSBModSettings::m_rgbColor, SSBModSettings::m_spanLog2, SSBModSettings::m_title, SSBModSettings::m_toneFrequency, SSBModSettings::m_usb, SSBModSettings::m_volumeFactor, SWGSDRangel::SWGSSBModSettings::setAgc(), SWGSDRangel::SWGSSBModSettings::setAudioBinaural(), SWGSDRangel::SWGSSBModSettings::setAudioDeviceName(), SWGSDRangel::SWGSSBModSettings::setAudioFlipChannels(), SWGSDRangel::SWGSSBModSettings::setAudioMute(), SWGSDRangel::SWGSSBModSettings::setBandwidth(), SWGSDRangel::SWGChannelSettings::setChannelType(), SWGSDRangel::SWGSSBModSettings::setCwKeyer(), SWGSDRangel::SWGChannelSettings::setDirection(), SWGSDRangel::SWGSSBModSettings::setDsb(), SWGSDRangel::SWGSSBModSettings::setInputFrequencyOffset(), SWGSDRangel::SWGSSBModSettings::setLowCutoff(), SWGSDRangel::SWGSSBModSettings::setModAfInput(), SWGSDRangel::SWGChannelSettings::setOriginatorChannelIndex(), SWGSDRangel::SWGChannelSettings::setOriginatorDeviceSetIndex(), SWGSDRangel::SWGSSBModSettings::setPlayLoop(), SWGSDRangel::SWGSSBModSettings::setRgbColor(), SWGSDRangel::SWGSSBModSettings::setSpanLog2(), SWGSDRangel::SWGChannelSettings::setSsbModSettings(), SWGSDRangel::SWGSSBModSettings::setTitle(), SWGSDRangel::SWGSSBModSettings::setToneFrequency(), SWGSDRangel::SWGSSBModSettings::setUsb(), SWGSDRangel::SWGSSBModSettings::setVolumeFactor(), and CWKeyer::webapiFormatChannelSettings().
Referenced by applySettings().
|
virtual |
Reimplemented from ChannelAPI.
Definition at line 1010 of file ssbmod.cpp.
References SWGSDRangel::SWGChannelSettings::getSsbModSettings(), SWGSDRangel::SWGSSBModSettings::init(), m_settings, SWGSDRangel::SWGChannelSettings::setSsbModSettings(), and webapiFormatChannelSettings().
Referenced by getStreamCenterFrequency().
|
virtual |
Reimplemented from ChannelAPI.
Definition at line 1021 of file ssbmod.cpp.
References SSBMod::MsgConfigureSSBMod::create(), CWKeyer::MsgConfigureCWKeyer::create(), SSBMod::MsgConfigureChannelizer::create(), SWGSDRangel::SWGSSBModSettings::getAgc(), SWGSDRangel::SWGSSBModSettings::getAudioBinaural(), SWGSDRangel::SWGSSBModSettings::getAudioDeviceName(), SWGSDRangel::SWGSSBModSettings::getAudioFlipChannels(), SWGSDRangel::SWGSSBModSettings::getAudioMute(), SWGSDRangel::SWGSSBModSettings::getBandwidth(), SWGSDRangel::SWGSSBModSettings::getCwKeyer(), SWGSDRangel::SWGSSBModSettings::getDsb(), SWGSDRangel::SWGSSBModSettings::getInputFrequencyOffset(), CWKeyer::getInputMessageQueue(), SWGSDRangel::SWGSSBModSettings::getLowCutoff(), SWGSDRangel::SWGSSBModSettings::getModAfInput(), SWGSDRangel::SWGSSBModSettings::getPlayLoop(), SWGSDRangel::SWGSSBModSettings::getReverseApiAddress(), SWGSDRangel::SWGSSBModSettings::getReverseApiChannelIndex(), SWGSDRangel::SWGSSBModSettings::getReverseApiDeviceIndex(), SWGSDRangel::SWGSSBModSettings::getReverseApiPort(), SWGSDRangel::SWGSSBModSettings::getRgbColor(), CWKeyer::getSettings(), SWGSDRangel::SWGSSBModSettings::getSpanLog2(), SWGSDRangel::SWGChannelSettings::getSsbModSettings(), SWGSDRangel::SWGSSBModSettings::getTitle(), SWGSDRangel::SWGSSBModSettings::getToneFrequency(), SWGSDRangel::SWGSSBModSettings::getUsb(), SWGSDRangel::SWGSSBModSettings::getUseReverseApi(), SWGSDRangel::SWGSSBModSettings::getVolumeFactor(), SSBModSettings::m_agc, SSBModSettings::m_audioBinaural, SSBModSettings::m_audioDeviceName, SSBModSettings::m_audioFlipChannels, SSBModSettings::m_audioMute, m_audioSampleRate, SSBModSettings::m_bandwidth, m_cwKeyer, SSBModSettings::m_dsb, BasebandSampleSource::m_guiMessageQueue, SSBModSettings::m_inputFrequencyOffset, BasebandSampleSource::m_inputMessageQueue, SSBModSettings::m_lowCutoff, SSBModSettings::m_modAFInput, SSBModSettings::m_playLoop, SSBModSettings::m_reverseAPIAddress, SSBModSettings::m_reverseAPIChannelIndex, SSBModSettings::m_reverseAPIDeviceIndex, SSBModSettings::m_reverseAPIPort, SSBModSettings::m_rgbColor, m_settings, SSBModSettings::m_spanLog2, SSBModSettings::m_title, SSBModSettings::m_toneFrequency, SSBModSettings::m_usb, SSBModSettings::m_useReverseAPI, SSBModSettings::m_volumeFactor, MessageQueue::push(), webapiFormatChannelSettings(), and CWKeyer::webapiSettingsPutPatch().
Referenced by getStreamCenterFrequency().
|
private |
Definition at line 315 of file ssbmod.h.
Referenced by pullAF(), pullAudio(), and SSBMod().
|
private |
Definition at line 316 of file ssbmod.h.
Referenced by modulateSample(), pullAF(), pullAudio(), and SSBMod().
|
private |
Definition at line 337 of file ssbmod.h.
Referenced by applyAudioSampleRate(), pullAF(), and SSBMod().
|
private |
Definition at line 317 of file ssbmod.h.
Referenced by applySettings(), pullAudio(), SSBMod(), start(), and ~SSBMod().
|
private |
Definition at line 314 of file ssbmod.h.
Referenced by applyAudioSampleRate(), applyChannelSettings(), applyFeedbackAudioSampleRate(), applySettings(), getAudioSampleRate(), handleMessage(), pullAudio(), SSBMod(), webapiFormatChannelReport(), and webapiSettingsPutPatch().
|
private |
Definition at line 277 of file ssbmod.h.
Referenced by applyChannelSettings(), pullAudio(), SSBMod(), and start().
|
private |
Definition at line 282 of file ssbmod.h.
Referenced by applyChannelSettings(), and pull().
|
static |
Definition at line 255 of file ssbmod.h.
Referenced by SSBModPlugin::initPlugin(), and SSBMod().
|
static |
Definition at line 254 of file ssbmod.h.
Referenced by SSBModPlugin::initPlugin(), and SSBModGUI::SSBModGUI().
|
private |
Definition at line 275 of file ssbmod.h.
Referenced by handleMessage(), SSBMod(), and ~SSBMod().
|
private |
Definition at line 335 of file ssbmod.h.
Referenced by applyAudioSampleRate(), getCWKeyer(), pullAF(), SSBMod(), webapiFormatChannelSettings(), webapiReverseSendCWSettings(), webapiReverseSendSettings(), and webapiSettingsPutPatch().
|
private |
|
private |
Definition at line 297 of file ssbmod.h.
Referenced by applyAudioSampleRate(), applySettings(), pullAF(), SSBMod(), and ~SSBMod().
|
private |
|
private |
Definition at line 301 of file ssbmod.h.
Referenced by applySettings(), and pullAF().
|
private |
Definition at line 320 of file ssbmod.h.
Referenced by processOneSample(), and SSBMod().
|
private |
Definition at line 321 of file ssbmod.h.
Referenced by processOneSample(), and SSBMod().
|
private |
Definition at line 322 of file ssbmod.h.
Referenced by applySettings(), processOneSample(), SSBMod(), and ~SSBMod().
|
private |
Definition at line 319 of file ssbmod.h.
Referenced by applyAudioSampleRate(), applyFeedbackAudioSampleRate(), applySettings(), and SSBMod().
|
private |
Definition at line 291 of file ssbmod.h.
Referenced by applyFeedbackAudioSampleRate(), and pushFeedback().
|
private |
Definition at line 294 of file ssbmod.h.
Referenced by applyFeedbackAudioSampleRate().
|
private |
Definition at line 292 of file ssbmod.h.
Referenced by applyFeedbackAudioSampleRate(), processOneSample(), and pushFeedback().
|
private |
Definition at line 293 of file ssbmod.h.
Referenced by applyFeedbackAudioSampleRate(), and pushFeedback().
|
private |
Definition at line 327 of file ssbmod.h.
Referenced by SSBMod::MsgConfigureFileSourceName::getFileName(), handleMessage(), and openFileStream().
|
private |
raw file size (bytes)
Definition at line 328 of file ssbmod.h.
Referenced by handleMessage(), and openFileStream().
|
private |
Definition at line 326 of file ssbmod.h.
Referenced by handleMessage(), openFileStream(), pullAF(), and seekFileStream().
|
private |
Definition at line 279 of file ssbmod.h.
Referenced by applyChannelSettings(), SSBMod(), and start().
|
private |
Definition at line 286 of file ssbmod.h.
Referenced by applyAudioSampleRate(), applyChannelSettings(), applySettings(), and pull().
|
private |
Definition at line 289 of file ssbmod.h.
Referenced by applyAudioSampleRate(), applyChannelSettings(), and applySettings().
|
private |
Definition at line 287 of file ssbmod.h.
Referenced by applyAudioSampleRate(), applyChannelSettings(), applySettings(), and pull().
|
private |
Definition at line 288 of file ssbmod.h.
Referenced by applyAudioSampleRate(), applyChannelSettings(), applySettings(), and pull().
|
private |
Definition at line 332 of file ssbmod.h.
Referenced by calculateLevel().
|
staticprivate |
Definition at line 343 of file ssbmod.h.
Referenced by calculateLevel().
|
private |
Definition at line 334 of file ssbmod.h.
Referenced by calculateLevel().
|
private |
Definition at line 311 of file ssbmod.h.
Referenced by getMagSq(), pull(), and SSBMod().
|
private |
Definition at line 284 of file ssbmod.h.
Referenced by modulateSample(), and pull().
|
private |
|
private |
Definition at line 340 of file ssbmod.h.
Referenced by SSBMod(), webapiReverseSendCWSettings(), webapiReverseSendSettings(), and ~SSBMod().
|
private |
Definition at line 341 of file ssbmod.h.
Referenced by webapiReverseSendCWSettings(), and webapiReverseSendSettings().
|
private |
Definition at line 278 of file ssbmod.h.
Referenced by applyAudioSampleRate(), applyChannelSettings(), applySettings(), SSBMod(), start(), and webapiFormatChannelReport().
|
private |
Definition at line 333 of file ssbmod.h.
Referenced by calculateLevel().
|
private |
record length in seconds computed from file size
Definition at line 329 of file ssbmod.h.
Referenced by SSBMod::MsgReportFileSourceStreamData::getRecordLength(), openFileStream(), and seekFileStream().
|
private |
|
private |
Definition at line 330 of file ssbmod.h.
Referenced by SSBMod::MsgConfigureChannelizer::getSampleRate(), SSBMod::MsgReportFileSourceStreamData::getSampleRate(), openFileStream(), and seekFileStream().
|
private |
Definition at line 304 of file ssbmod.h.
Referenced by pullAF(), and setSpectrumSampleSink().
|
private |
Definition at line 280 of file ssbmod.h.
Referenced by applyAudioSampleRate(), applyChannelSettings(), applySettings(), deserialize(), handleMessage(), modulateSample(), pullAF(), serialize(), SSBMod(), start(), webapiReverseSendCWSettings(), webapiSettingsGet(), and webapiSettingsPutPatch().
|
private |
Definition at line 324 of file ssbmod.h.
Referenced by applyAudioSampleRate(), applyChannelSettings(), applyFeedbackAudioSampleRate(), applySettings(), pull(), and seekFileStream().
|
staticprivate |
Definition at line 302 of file ssbmod.h.
Referenced by applySettings(), pullAF(), and SSBMod().
|
private |
Definition at line 296 of file ssbmod.h.
Referenced by applyAudioSampleRate(), applySettings(), pullAF(), SSBMod(), and ~SSBMod().
|
private |
|
private |
Definition at line 300 of file ssbmod.h.
Referenced by applySettings(), and pullAF().
|
private |
|
private |
|
private |
|
private |
Definition at line 283 of file ssbmod.h.
Referenced by applyAudioSampleRate(), applySettings(), pullAF(), and SSBMod().
|
private |