19 #ifndef SWGSDRPlaySettings_H_ 20 #define SWGSDRPlaySettings_H_ 22 #include <QJsonObject> 40 virtual QString asJson ()
override;
41 virtual QJsonObject* asJsonObject()
override;
42 virtual void fromJsonObject(QJsonObject &json)
override;
45 qint32 getCenterFrequency();
46 void setCenterFrequency(qint32 center_frequency);
48 qint32 getTunerGain();
49 void setTunerGain(qint32 tuner_gain);
51 qint32 getLOppmTenths();
52 void setLOppmTenths(qint32 l_oppm_tenths);
54 qint32 getFrequencyBandIndex();
55 void setFrequencyBandIndex(qint32 frequency_band_index);
57 qint32 getIfFrequencyIndex();
58 void setIfFrequencyIndex(qint32 if_frequency_index);
60 qint32 getBandwidthIndex();
61 void setBandwidthIndex(qint32 bandwidth_index);
63 qint32 getDevSampleRateIndex();
64 void setDevSampleRateIndex(qint32 dev_sample_rate_index);
66 qint32 getLog2Decim();
67 void setLog2Decim(qint32 log2_decim);
70 void setFcPos(qint32 fc_pos);
73 void setDcBlock(qint32 dc_block);
75 qint32 getIqCorrection();
76 void setIqCorrection(qint32 iq_correction);
78 qint32 getTunerGainMode();
79 void setTunerGainMode(qint32 tuner_gain_mode);
82 void setLnaOn(qint32 lna_on);
84 qint32 getMixerAmpOn();
85 void setMixerAmpOn(qint32 mixer_amp_on);
87 qint32 getBasebandGain();
88 void setBasebandGain(qint32 baseband_gain);
90 QString* getFileRecordName();
91 void setFileRecordName(QString* file_record_name);
93 qint32 getUseReverseApi();
94 void setUseReverseApi(qint32 use_reverse_api);
96 QString* getReverseApiAddress();
97 void setReverseApiAddress(QString* reverse_api_address);
99 qint32 getReverseApiPort();
100 void setReverseApiPort(qint32 reverse_api_port);
102 qint32 getReverseApiDeviceIndex();
103 void setReverseApiDeviceIndex(qint32 reverse_api_device_index);
106 virtual bool isSet()
override;
bool m_bandwidth_index_isSet
bool m_frequency_band_index_isSet
bool m_center_frequency_isSet
bool m_dev_sample_rate_index_isSet
bool m_baseband_gain_isSet
bool m_reverse_api_port_isSet
qint32 if_frequency_index
qint32 dev_sample_rate_index
qint32 frequency_band_index
bool m_tuner_gain_mode_isSet
bool m_l_oppm_tenths_isSet
QString * reverse_api_address
qint32 reverse_api_device_index
bool m_if_frequency_index_isSet
QString * file_record_name
bool m_file_record_name_isSet
bool m_reverse_api_address_isSet
bool m_reverse_api_device_index_isSet
bool m_iq_correction_isSet
bool m_mixer_amp_on_isSet
bool m_use_reverse_api_isSet