19 #ifndef SWGSSBDemodSettings_H_ 20 #define SWGSSBDemodSettings_H_ 22 #include <QJsonObject> 40 virtual QString asJson ()
override;
41 virtual QJsonObject* asJsonObject()
override;
42 virtual void fromJsonObject(QJsonObject &json)
override;
45 qint64 getInputFrequencyOffset();
46 void setInputFrequencyOffset(qint64 input_frequency_offset);
48 float getRfBandwidth();
49 void setRfBandwidth(
float rf_bandwidth);
52 void setLowCutoff(
float low_cutoff);
55 void setVolume(
float volume);
58 void setSpanLog2(qint32 span_log2);
60 qint32 getAudioBinaural();
61 void setAudioBinaural(qint32 audio_binaural);
63 qint32 getAudioFlipChannels();
64 void setAudioFlipChannels(qint32 audio_flip_channels);
67 void setDsb(qint32 dsb);
69 qint32 getAudioMute();
70 void setAudioMute(qint32 audio_mute);
73 void setAgc(qint32 agc);
75 qint32 getAgcClamping();
76 void setAgcClamping(qint32 agc_clamping);
78 qint32 getAgcTimeLog2();
79 void setAgcTimeLog2(qint32 agc_time_log2);
81 qint32 getAgcPowerThreshold();
82 void setAgcPowerThreshold(qint32 agc_power_threshold);
84 qint32 getAgcThresholdGate();
85 void setAgcThresholdGate(qint32 agc_threshold_gate);
88 void setRgbColor(qint32 rgb_color);
91 void setTitle(QString* title);
93 QString* getAudioDeviceName();
94 void setAudioDeviceName(QString* audio_device_name);
96 qint32 getUseReverseApi();
97 void setUseReverseApi(qint32 use_reverse_api);
99 QString* getReverseApiAddress();
100 void setReverseApiAddress(QString* reverse_api_address);
102 qint32 getReverseApiPort();
103 void setReverseApiPort(qint32 reverse_api_port);
105 qint32 getReverseApiDeviceIndex();
106 void setReverseApiDeviceIndex(qint32 reverse_api_device_index);
108 qint32 getReverseApiChannelIndex();
109 void setReverseApiChannelIndex(qint32 reverse_api_channel_index);
112 virtual bool isSet()
override;
qint32 agc_power_threshold
QString * reverse_api_address
qint64 input_frequency_offset
bool m_agc_threshold_gate_isSet
qint32 reverse_api_channel_index
bool m_agc_time_log2_isSet
bool m_agc_power_threshold_isSet
bool m_audio_binaural_isSet
bool m_reverse_api_address_isSet
bool m_input_frequency_offset_isSet
bool m_agc_clamping_isSet
bool m_audio_device_name_isSet
bool m_audio_flip_channels_isSet
bool m_reverse_api_channel_index_isSet
qint32 audio_flip_channels
QString * audio_device_name
bool m_reverse_api_port_isSet
bool m_reverse_api_device_index_isSet
qint32 agc_threshold_gate
bool m_use_reverse_api_isSet
bool m_rf_bandwidth_isSet
qint32 reverse_api_device_index