![]() |
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 <ammod.h>
Inheritance diagram for AMMod:
Collaboration diagram for AMMod:Classes | |
| class | MsgConfigureAMMod |
| class | MsgConfigureChannelizer |
| class | MsgConfigureFileSourceName |
| class | MsgConfigureFileSourceSeek |
| class | MsgConfigureFileSourceStreamTiming |
| class | MsgReportFileSourceStreamData |
| class | MsgReportFileSourceStreamTiming |
Signals | |
| void | levelChanged (qreal rmsLevel, qreal peakLevel, int numSamples) |
Public Member Functions | |
| AMMod (DeviceAPI *deviceAPI) | |
| ~AMMod () | |
| virtual void | destroy () |
| 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) |
| 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.modam" |
| static const QString | m_channelId ="AMMod" |
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 AMModSettings &settings, bool force=false) |
| void | pullAF (Real &sample) |
| void | pushFeedback (Real sample) |
| void | calculateLevel (Real &sample) |
| void | modulateSample () |
| void | openFileStream () |
| void | seekFileStream (int seekPercentage) |
| void | webapiFormatChannelSettings (SWGSDRangel::SWGChannelSettings &response, const AMModSettings &settings) |
| void | webapiFormatChannelReport (SWGSDRangel::SWGChannelReport &response) |
| void | webapiReverseSendSettings (QList< QString > &channelSettingsKeys, const AMModSettings &settings, bool force) |
| void | webapiReverseSendCWSettings (const CWKeyerSettings &settings) |
Static Private Attributes | |
| 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 263 of file ammod.h.
| AMMod::AMMod | ( | DeviceAPI * | deviceAPI | ) |
Definition at line 53 of file ammod.cpp.
References AudioDeviceManager::addAudioSink(), AudioDeviceManager::addAudioSource(), DeviceAPI::addChannelSource(), DeviceAPI::addChannelSourceAPI(), applyChannelSettings(), applyFeedbackAudioSampleRate(), applySettings(), DSPEngine::getAudioDeviceManager(), BasebandSampleSource::getInputMessageQueue(), AudioDeviceManager::getInputSampleRate(), AudioDeviceManager::getOutputSampleRate(), DSPEngine::instance(), m_audioBuffer, m_audioBufferFill, m_audioFifo, m_audioSampleRate, m_basebandSampleRate, m_channelId, m_channelizer, m_cwKeyer, m_deviceAPI, m_feedbackAudioBuffer, m_feedbackAudioBufferFill, m_feedbackAudioFifo, m_feedbackAudioSampleRate, m_inputFrequencyOffset, m_magsq, m_networkManager, m_outputSampleRate, m_settings, m_threadedChannelizer, m_toneNco, networkManagerFinished(), CWKeyer::reset(), NCOF::setFreq(), and CWKeyer::setSampleRate().
Referenced by AMMod::MsgReportFileSourceStreamData::MsgReportFileSourceStreamData().
Here is the call graph for this function:
Here is the caller graph for this function:| AMMod::~AMMod | ( | ) |
Definition at line 102 of file ammod.cpp.
References DSPEngine::getAudioDeviceManager(), DSPEngine::instance(), m_audioFifo, m_channelizer, m_deviceAPI, m_feedbackAudioFifo, m_networkManager, m_threadedChannelizer, networkManagerFinished(), AudioDeviceManager::removeAudioSink(), AudioDeviceManager::removeAudioSource(), DeviceAPI::removeChannelSource(), and DeviceAPI::removeChannelSourceAPI().
Referenced by AMMod::MsgReportFileSourceStreamData::MsgReportFileSourceStreamData().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 480 of file ammod.cpp.
References applyFeedbackAudioSampleRate(), Interpolator::create(), AMMod::MsgConfigureChannelizer::create(), m_audioSampleRate, m_cwKeyer, m_feedbackAudioSampleRate, AMModSettings::m_inputFrequencyOffset, BasebandSampleSource::m_inputMessageQueue, m_interpolator, m_interpolatorConsumed, m_interpolatorDistance, m_interpolatorDistanceRemain, m_outputSampleRate, AMModSettings::m_rfBandwidth, m_settings, m_settingsMutex, AMModSettings::m_toneFrequency, m_toneNco, MessageQueue::push(), NCOF::setFreq(), and CWKeyer::setSampleRate().
Referenced by applySettings(), and handleMessage().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 520 of file ammod.cpp.
References Interpolator::create(), m_audioSampleRate, m_basebandSampleRate, m_carrierNco, m_inputFrequencyOffset, m_interpolator, m_interpolatorConsumed, m_interpolatorDistance, m_interpolatorDistanceRemain, m_outputSampleRate, AMModSettings::m_rfBandwidth, m_settings, m_settingsMutex, and NCO::setFreq().
Referenced by AMMod(), handleMessage(), and start().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 503 of file ammod.cpp.
References Interpolator::create(), m_audioSampleRate, m_feedbackAudioSampleRate, m_feedbackInterpolator, m_feedbackInterpolatorConsumed, m_feedbackInterpolatorDistance, m_feedbackInterpolatorDistanceRemain, m_settingsMutex, and leansdr::min().
Referenced by AMMod(), applyAudioSampleRate(), applySettings(), and handleMessage().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 550 of file ammod.cpp.
References AudioDeviceManager::addAudioSink(), AudioDeviceManager::addAudioSource(), applyAudioSampleRate(), applyFeedbackAudioSampleRate(), Interpolator::create(), DSPEngine::getAudioDeviceManager(), AudioDeviceManager::getInputDeviceIndex(), BasebandSampleSource::getInputMessageQueue(), AudioDeviceManager::getInputSampleRate(), AudioDeviceManager::getOutputDeviceIndex(), AudioDeviceManager::getOutputSampleRate(), DSPEngine::instance(), AMModSettings::m_audioDeviceName, m_audioFifo, m_audioSampleRate, AMModSettings::m_channelMute, AMModSettings::m_feedbackAudioDeviceName, m_feedbackAudioFifo, m_feedbackAudioSampleRate, AMModSettings::m_inputFrequencyOffset, m_interpolator, m_interpolatorConsumed, m_interpolatorDistance, m_interpolatorDistanceRemain, AMModSettings::m_modAFInput, AMModSettings::m_modFactor, m_outputSampleRate, AMModSettings::m_playLoop, AMModSettings::m_reverseAPIAddress, AMModSettings::m_reverseAPIChannelIndex, AMModSettings::m_reverseAPIDeviceIndex, AMModSettings::m_reverseAPIPort, AMModSettings::m_rfBandwidth, m_settings, m_settingsMutex, AMModSettings::m_toneFrequency, m_toneNco, AMModSettings::m_useReverseAPI, AMModSettings::m_volumeFactor, NCOF::setFreq(), and webapiReverseSendSettings().
Referenced by AMMod(), and handleMessage().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 301 of file ammod.cpp.
References levelChanged(), m_levelCalcCount, m_levelNbSamples, m_levelSum, m_peakLevel, leansdr::max(), and sqrt().
Referenced by modulateSample().
Here is the call graph for this function:
Here is the caller graph for this function:
|
virtual |
Implements ChannelAPI.
Definition at line 660 of file ammod.cpp.
References AMMod::MsgConfigureAMMod::create(), AMModSettings::deserialize(), BasebandSampleSource::m_inputMessageQueue, m_settings, MessageQueue::push(), and AMModSettings::resetToDefaults().
Referenced by getCenterFrequency().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinevirtual |
Implements ChannelAPI.
Definition at line 206 of file ammod.h.
References handleMessage(), pull(), pullAudio(), start(), and stop().
Here is the call graph for this function:
|
inlinevirtual |
Applies to a default stream.
Implements ChannelAPI.
Definition at line 216 of file ammod.h.
References deserialize(), AMModSettings::m_inputFrequencyOffset, AMMod::MsgConfigureAMMod::m_settings, and serialize().
Here is the call graph for this function:
|
inline |
Definition at line 247 of file ammod.h.
References m_cwKeyer.
Referenced by AMModGUI::AMModGUI().
Here is the caller graph for this function:
|
inlinevirtual |
|
inline |
Definition at line 245 of file ammod.h.
References m_magsq.
Referenced by AMModGUI::tick(), and webapiFormatChannelReport().
Here is the caller graph for this function:
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
Implements ChannelAPI.
Definition at line 224 of file ammod.h.
References AMModSettings::m_inputFrequencyOffset, AMMod::MsgConfigureAMMod::m_settings, webapiReportGet(), webapiSettingsGet(), and webapiSettingsPutPatch().
Here is the call graph for this function:
|
inlinevirtual |
Implements ChannelAPI.
Definition at line 215 of file ammod.h.
References AMMod::MsgConfigureAMMod::m_settings, and AMModSettings::m_title.
|
virtual |
Processing of a message. Returns true if message has actually been processed.
Implements BasebandSampleSource.
Definition at line 333 of file ammod.cpp.
References applyAudioSampleRate(), applyChannelSettings(), applyFeedbackAudioSampleRate(), applySettings(), DSPConfigureAudio::AudioInput, DSPConfigureAudio::AudioOutput, UpChannelizer::configure(), AMMod::MsgReportFileSourceStreamTiming::create(), DSPConfigureAudio::getAudioType(), UpChannelizer::MsgChannelizerNotification::getBasebandSampleRate(), AMMod::MsgConfigureChannelizer::getCenterFrequency(), AMMod::MsgConfigureFileSourceName::getFileName(), AMMod::MsgConfigureAMMod::getForce(), UpChannelizer::MsgChannelizerNotification::getFrequencyOffset(), BasebandSampleSource::getInputMessageQueue(), BasebandSampleSource::getMessageQueueToGUI(), AMMod::MsgConfigureFileSourceSeek::getPercentage(), UpChannelizer::MsgChannelizerNotification::getSampleRate(), AMMod::MsgConfigureChannelizer::getSampleRate(), DSPConfigureAudio::getSampleRate(), AMMod::MsgConfigureAMMod::getSettings(), CWKeyer::MsgConfigureCWKeyer::getSettings(), m_audioSampleRate, m_channelizer, m_fileName, m_fileSize, m_ifstream, m_settings, AMModSettings::m_useReverseAPI, Message::match(), openFileStream(), MessageQueue::push(), seekFileStream(), and webapiReverseSendCWSettings().
Referenced by destroy().
Here is the call graph for this function:
Here is the caller graph for this function:
|
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().
Here is the caller graph for this function:
|
private |
Definition at line 173 of file ammod.cpp.
References calculateLevel(), m_audioBufferFill, AMModSettings::m_feedbackAudioEnable, AMModSettings::m_feedbackVolumeFactor, AMModSettings::m_modFactor, m_modSample, m_settings, pullAF(), and pushFeedback().
Referenced by pull().
Here is the call graph for this function:
Here is the caller graph for this function:
|
privateslot |
|
private |
Definition at line 445 of file ammod.cpp.
References AMMod::MsgReportFileSourceStreamData::create(), BasebandSampleSource::getMessageQueueToGUI(), m_fileName, m_fileSize, m_ifstream, m_recordLength, m_sampleRate, and MessageQueue::push().
Referenced by handleMessage().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 280 of file ammod.cpp.
References AudioFifo::clear(), m_feedbackAudioBuffer, m_feedbackAudioBufferFill, m_feedbackAudioFifo, m_feedbackInterpolatorDistance, and AudioFifo::write().
Referenced by pushFeedback().
Here is the call graph for this function:
Here is the caller graph for this function:
|
virtual |
Implements BasebandSampleSource.
Definition at line 114 of file ammod.cpp.
References MovingAverageUtil< T, Total, N >::asDouble(), Interpolator::decimate(), Interpolator::interpolate(), m_carrierNco, AMModSettings::m_channelMute, Sample::m_imag, m_interpolator, m_interpolatorDistance, m_interpolatorDistanceRemain, m_magsq, m_modSample, m_movingAverage, Sample::m_real, m_settings, m_settingsMutex, modulateSample(), NCO::nextIQ(), and SDR_TX_SCALED.
Referenced by destroy().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 190 of file ammod.cpp.
References AMModSettings::AMModInputAudio, AMModSettings::AMModInputCWTone, AMModSettings::AMModInputFile, AMModSettings::AMModInputNone, AMModSettings::AMModInputTone, CWKeyer::getCWSmoother(), CWSmoother::getFadeSample(), CWKeyer::getSample(), m_audioBuffer, m_audioBufferFill, m_cwKeyer, m_ifstream, AMModSettings::m_modAFInput, AMModSettings::m_playLoop, m_settings, m_toneNco, AMModSettings::m_volumeFactor, NCOF::next(), and NCOF::setPhase().
Referenced by modulateSample().
Here is the call graph for this function:
Here is the caller graph for this function:
|
virtual |
Reimplemented from BasebandSampleSource.
Definition at line 159 of file ammod.cpp.
References m_audioBuffer, m_audioBufferFill, m_audioFifo, m_audioSampleRate, m_basebandSampleRate, and AudioFifo::read().
Referenced by destroy().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 257 of file ammod.cpp.
References Interpolator::decimate(), Interpolator::interpolate(), m_feedbackInterpolator, m_feedbackInterpolatorDistance, m_feedbackInterpolatorDistanceRemain, and processOneSample().
Referenced by modulateSample().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 467 of file ammod.cpp.
References m_ifstream, m_recordLength, m_sampleRate, and m_settingsMutex.
Referenced by handleMessage().
Here is the caller graph for this function:
|
virtual |
Implements ChannelAPI.
Definition at line 655 of file ammod.cpp.
References m_settings, and AMModSettings::serialize().
Referenced by getCenterFrequency().
Here is the call graph for this function:
Here is the caller graph for this function:
|
virtual |
Implements BasebandSampleSource.
Definition at line 320 of file ammod.cpp.
References applyChannelSettings(), AudioFifo::clear(), m_audioFifo, m_basebandSampleRate, AMModSettings::m_inputFrequencyOffset, m_inputFrequencyOffset, m_outputSampleRate, and m_settings.
Referenced by destroy().
Here is the call graph for this function:
Here is the caller graph for this function:
|
virtual |
Implements BasebandSampleSource.
Definition at line 329 of file ammod.cpp.
Referenced by destroy().
Here is the caller graph for this function:
|
private |
Definition at line 843 of file ammod.cpp.
References CalcDb::dbPower(), SWGSDRangel::SWGChannelReport::getAmModReport(), getMagSq(), m_audioSampleRate, m_outputSampleRate, SWGSDRangel::SWGAMModReport::setAudioSampleRate(), SWGSDRangel::SWGAMModReport::setChannelPowerDb(), and SWGSDRangel::SWGAMModReport::setChannelSampleRate().
Referenced by webapiReportGet().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 797 of file ammod.cpp.
References SWGSDRangel::SWGChannelSettings::getAmModSettings(), SWGSDRangel::SWGAMModSettings::getAudioDeviceName(), SWGSDRangel::SWGAMModSettings::getCwKeyer(), SWGSDRangel::SWGAMModSettings::getReverseApiAddress(), CWKeyer::getSettings(), SWGSDRangel::SWGAMModSettings::getTitle(), AMModSettings::m_audioDeviceName, AMModSettings::m_channelMute, m_cwKeyer, AMModSettings::m_inputFrequencyOffset, AMModSettings::m_modAFInput, AMModSettings::m_modFactor, AMModSettings::m_playLoop, AMModSettings::m_reverseAPIAddress, AMModSettings::m_reverseAPIChannelIndex, AMModSettings::m_reverseAPIDeviceIndex, AMModSettings::m_reverseAPIPort, AMModSettings::m_rfBandwidth, AMModSettings::m_rgbColor, AMModSettings::m_title, AMModSettings::m_toneFrequency, AMModSettings::m_useReverseAPI, AMModSettings::m_volumeFactor, SWGSDRangel::SWGAMModSettings::setAudioDeviceName(), SWGSDRangel::SWGAMModSettings::setChannelMute(), SWGSDRangel::SWGAMModSettings::setCwKeyer(), SWGSDRangel::SWGAMModSettings::setInputFrequencyOffset(), SWGSDRangel::SWGAMModSettings::setModAfInput(), SWGSDRangel::SWGAMModSettings::setModFactor(), SWGSDRangel::SWGAMModSettings::setPlayLoop(), SWGSDRangel::SWGAMModSettings::setReverseApiAddress(), SWGSDRangel::SWGAMModSettings::setReverseApiChannelIndex(), SWGSDRangel::SWGAMModSettings::setReverseApiDeviceIndex(), SWGSDRangel::SWGAMModSettings::setReverseApiPort(), SWGSDRangel::SWGAMModSettings::setRfBandwidth(), SWGSDRangel::SWGAMModSettings::setRgbColor(), SWGSDRangel::SWGAMModSettings::setTitle(), SWGSDRangel::SWGAMModSettings::setToneFrequency(), SWGSDRangel::SWGAMModSettings::setUseReverseApi(), SWGSDRangel::SWGAMModSettings::setVolumeFactor(), and CWKeyer::webapiFormatChannelSettings().
Referenced by webapiSettingsGet(), and webapiSettingsPutPatch().
Here is the call graph for this function:
Here is the caller graph for this function:
|
virtual |
Reimplemented from ChannelAPI.
Definition at line 786 of file ammod.cpp.
References SWGSDRangel::SWGChannelReport::getAmModReport(), SWGSDRangel::SWGAMModReport::init(), SWGSDRangel::SWGChannelReport::setAmModReport(), and webapiFormatChannelReport().
Referenced by getStreamCenterFrequency().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 923 of file ammod.cpp.
References SWGSDRangel::SWGChannelSettings::asJson(), SWGSDRangel::SWGChannelSettings::getAmModSettings(), SWGSDRangel::SWGAMModSettings::getCwKeyer(), m_cwKeyer, m_networkManager, m_networkRequest, AMModSettings::m_reverseAPIAddress, AMModSettings::m_reverseAPIChannelIndex, AMModSettings::m_reverseAPIDeviceIndex, AMModSettings::m_reverseAPIPort, m_settings, SWGSDRangel::SWGChannelSettings::setAmModSettings(), SWGSDRangel::SWGChannelSettings::setChannelType(), SWGSDRangel::SWGAMModSettings::setCwKeyer(), SWGSDRangel::SWGChannelSettings::setDirection(), and CWKeyer::webapiFormatChannelSettings().
Referenced by handleMessage().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 850 of file ammod.cpp.
References SWGSDRangel::SWGChannelSettings::asJson(), SWGSDRangel::SWGChannelSettings::getAmModSettings(), SWGSDRangel::SWGAMModSettings::getCwKeyer(), ChannelAPI::getDeviceSetIndex(), ChannelAPI::getIndexInDeviceSet(), CWKeyer::getSettings(), AMModSettings::m_audioDeviceName, AMModSettings::m_channelMute, m_cwKeyer, AMModSettings::m_inputFrequencyOffset, AMModSettings::m_modAFInput, AMModSettings::m_modFactor, m_networkManager, m_networkRequest, AMModSettings::m_playLoop, AMModSettings::m_reverseAPIAddress, AMModSettings::m_reverseAPIChannelIndex, AMModSettings::m_reverseAPIDeviceIndex, AMModSettings::m_reverseAPIPort, AMModSettings::m_rfBandwidth, AMModSettings::m_rgbColor, AMModSettings::m_title, AMModSettings::m_toneFrequency, AMModSettings::m_volumeFactor, SWGSDRangel::SWGChannelSettings::setAmModSettings(), SWGSDRangel::SWGAMModSettings::setAudioDeviceName(), SWGSDRangel::SWGAMModSettings::setChannelMute(), SWGSDRangel::SWGChannelSettings::setChannelType(), SWGSDRangel::SWGAMModSettings::setCwKeyer(), SWGSDRangel::SWGChannelSettings::setDirection(), SWGSDRangel::SWGAMModSettings::setInputFrequencyOffset(), SWGSDRangel::SWGAMModSettings::setModAfInput(), SWGSDRangel::SWGAMModSettings::setModFactor(), SWGSDRangel::SWGChannelSettings::setOriginatorChannelIndex(), SWGSDRangel::SWGChannelSettings::setOriginatorDeviceSetIndex(), SWGSDRangel::SWGAMModSettings::setPlayLoop(), SWGSDRangel::SWGAMModSettings::setRfBandwidth(), SWGSDRangel::SWGAMModSettings::setRgbColor(), SWGSDRangel::SWGAMModSettings::setTitle(), SWGSDRangel::SWGAMModSettings::setToneFrequency(), SWGSDRangel::SWGAMModSettings::setVolumeFactor(), and CWKeyer::webapiFormatChannelSettings().
Referenced by applySettings().
Here is the call graph for this function:
Here is the caller graph for this function:
|
virtual |
Reimplemented from ChannelAPI.
Definition at line 677 of file ammod.cpp.
References SWGSDRangel::SWGChannelSettings::getAmModSettings(), SWGSDRangel::SWGAMModSettings::init(), m_settings, SWGSDRangel::SWGChannelSettings::setAmModSettings(), and webapiFormatChannelSettings().
Referenced by getStreamCenterFrequency().
Here is the call graph for this function:
Here is the caller graph for this function:
|
virtual |
Reimplemented from ChannelAPI.
Definition at line 688 of file ammod.cpp.
References AMMod::MsgConfigureAMMod::create(), CWKeyer::MsgConfigureCWKeyer::create(), AMMod::MsgConfigureChannelizer::create(), SWGSDRangel::SWGChannelSettings::getAmModSettings(), SWGSDRangel::SWGAMModSettings::getAudioDeviceName(), SWGSDRangel::SWGAMModSettings::getChannelMute(), SWGSDRangel::SWGAMModSettings::getCwKeyer(), SWGSDRangel::SWGAMModSettings::getInputFrequencyOffset(), CWKeyer::getInputMessageQueue(), SWGSDRangel::SWGAMModSettings::getModAfInput(), SWGSDRangel::SWGAMModSettings::getModFactor(), SWGSDRangel::SWGAMModSettings::getPlayLoop(), SWGSDRangel::SWGAMModSettings::getReverseApiAddress(), SWGSDRangel::SWGAMModSettings::getReverseApiChannelIndex(), SWGSDRangel::SWGAMModSettings::getReverseApiDeviceIndex(), SWGSDRangel::SWGAMModSettings::getReverseApiPort(), SWGSDRangel::SWGAMModSettings::getRfBandwidth(), SWGSDRangel::SWGAMModSettings::getRgbColor(), CWKeyer::getSettings(), SWGSDRangel::SWGAMModSettings::getTitle(), SWGSDRangel::SWGAMModSettings::getToneFrequency(), SWGSDRangel::SWGAMModSettings::getUseReverseApi(), SWGSDRangel::SWGAMModSettings::getVolumeFactor(), AMModSettings::m_audioDeviceName, m_audioSampleRate, AMModSettings::m_channelMute, m_cwKeyer, BasebandSampleSource::m_guiMessageQueue, AMModSettings::m_inputFrequencyOffset, BasebandSampleSource::m_inputMessageQueue, AMModSettings::m_modAFInput, AMModSettings::m_modFactor, AMModSettings::m_playLoop, AMModSettings::m_reverseAPIAddress, AMModSettings::m_reverseAPIChannelIndex, AMModSettings::m_reverseAPIDeviceIndex, AMModSettings::m_reverseAPIPort, AMModSettings::m_rfBandwidth, AMModSettings::m_rgbColor, m_settings, AMModSettings::m_title, AMModSettings::m_toneFrequency, AMModSettings::m_useReverseAPI, AMModSettings::m_volumeFactor, MessageQueue::push(), webapiFormatChannelSettings(), and CWKeyer::webapiSettingsPutPatch().
Referenced by getStreamCenterFrequency().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 295 of file ammod.h.
Referenced by AMMod(), pullAF(), and pullAudio().
|
private |
Definition at line 296 of file ammod.h.
Referenced by AMMod(), modulateSample(), pullAF(), and pullAudio().
|
private |
Definition at line 297 of file ammod.h.
Referenced by AMMod(), applySettings(), pullAudio(), start(), and ~AMMod().
|
private |
Definition at line 294 of file ammod.h.
Referenced by AMMod(), applyAudioSampleRate(), applyChannelSettings(), applyFeedbackAudioSampleRate(), applySettings(), handleMessage(), pullAudio(), webapiFormatChannelReport(), and webapiSettingsPutPatch().
|
private |
Definition at line 272 of file ammod.h.
Referenced by AMMod(), applyChannelSettings(), pullAudio(), and start().
|
private |
Definition at line 277 of file ammod.h.
Referenced by applyChannelSettings(), and pull().
|
static |
Definition at line 250 of file ammod.h.
Referenced by AMMod(), and AMModPlugin::initPlugin().
|
static |
Definition at line 249 of file ammod.h.
Referenced by AMModGUI::AMModGUI(), and AMModPlugin::initPlugin().
|
private |
Definition at line 270 of file ammod.h.
Referenced by AMMod(), handleMessage(), and ~AMMod().
|
private |
Definition at line 316 of file ammod.h.
Referenced by AMMod(), applyAudioSampleRate(), getCWKeyer(), pullAF(), webapiFormatChannelSettings(), webapiReverseSendCWSettings(), webapiReverseSendSettings(), and webapiSettingsPutPatch().
|
private |
|
private |
Definition at line 300 of file ammod.h.
Referenced by AMMod(), and processOneSample().
|
private |
Definition at line 301 of file ammod.h.
Referenced by AMMod(), and processOneSample().
|
private |
Definition at line 302 of file ammod.h.
Referenced by AMMod(), applySettings(), processOneSample(), and ~AMMod().
|
private |
Definition at line 299 of file ammod.h.
Referenced by AMMod(), applyAudioSampleRate(), applyFeedbackAudioSampleRate(), and applySettings().
|
private |
Definition at line 286 of file ammod.h.
Referenced by applyFeedbackAudioSampleRate(), and pushFeedback().
|
private |
Definition at line 289 of file ammod.h.
Referenced by applyFeedbackAudioSampleRate().
|
private |
Definition at line 287 of file ammod.h.
Referenced by applyFeedbackAudioSampleRate(), processOneSample(), and pushFeedback().
|
private |
Definition at line 288 of file ammod.h.
Referenced by applyFeedbackAudioSampleRate(), and pushFeedback().
|
private |
Definition at line 308 of file ammod.h.
Referenced by AMMod::MsgConfigureFileSourceName::getFileName(), handleMessage(), and openFileStream().
|
private |
raw file size (bytes)
Definition at line 309 of file ammod.h.
Referenced by handleMessage(), and openFileStream().
|
private |
Definition at line 307 of file ammod.h.
Referenced by handleMessage(), openFileStream(), pullAF(), and seekFileStream().
|
private |
Definition at line 274 of file ammod.h.
Referenced by AMMod(), applyChannelSettings(), and start().
|
private |
Definition at line 281 of file ammod.h.
Referenced by applyAudioSampleRate(), applyChannelSettings(), applySettings(), and pull().
|
private |
Definition at line 284 of file ammod.h.
Referenced by applyAudioSampleRate(), applyChannelSettings(), and applySettings().
|
private |
Definition at line 282 of file ammod.h.
Referenced by applyAudioSampleRate(), applyChannelSettings(), applySettings(), and pull().
|
private |
Definition at line 283 of file ammod.h.
Referenced by applyAudioSampleRate(), applyChannelSettings(), applySettings(), and pull().
|
private |
Definition at line 313 of file ammod.h.
Referenced by calculateLevel().
|
staticprivate |
Definition at line 318 of file ammod.h.
Referenced by calculateLevel().
|
private |
Definition at line 315 of file ammod.h.
Referenced by calculateLevel().
|
private |
Definition at line 291 of file ammod.h.
Referenced by AMMod(), getMagSq(), and pull().
|
private |
Definition at line 279 of file ammod.h.
Referenced by modulateSample(), and pull().
|
private |
|
private |
Definition at line 320 of file ammod.h.
Referenced by AMMod(), webapiReverseSendCWSettings(), webapiReverseSendSettings(), and ~AMMod().
|
private |
Definition at line 321 of file ammod.h.
Referenced by webapiReverseSendCWSettings(), and webapiReverseSendSettings().
|
private |
Definition at line 273 of file ammod.h.
Referenced by AMMod(), applyAudioSampleRate(), applyChannelSettings(), applySettings(), start(), and webapiFormatChannelReport().
|
private |
Definition at line 314 of file ammod.h.
Referenced by calculateLevel().
|
private |
record length in seconds computed from file size
Definition at line 310 of file ammod.h.
Referenced by AMMod::MsgReportFileSourceStreamData::getRecordLength(), openFileStream(), and seekFileStream().
|
private |
|
private |
Definition at line 311 of file ammod.h.
Referenced by AMMod::MsgConfigureChannelizer::getSampleRate(), AMMod::MsgReportFileSourceStreamData::getSampleRate(), openFileStream(), and seekFileStream().
|
private |
Definition at line 275 of file ammod.h.
Referenced by AMMod(), applyAudioSampleRate(), applyChannelSettings(), applySettings(), deserialize(), handleMessage(), modulateSample(), pull(), pullAF(), serialize(), start(), webapiReverseSendCWSettings(), webapiSettingsGet(), and webapiSettingsPutPatch().
|
private |
Definition at line 305 of file ammod.h.
Referenced by applyAudioSampleRate(), applyChannelSettings(), applyFeedbackAudioSampleRate(), applySettings(), pull(), and seekFileStream().
|
private |
|
private |
Definition at line 278 of file ammod.h.
Referenced by AMMod(), applyAudioSampleRate(), applySettings(), and pullAF().
1.8.13