19 #ifndef SWGBFMDemodSettings_H_ 20 #define SWGBFMDemodSettings_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);
51 float getAfBandwidth();
52 void setAfBandwidth(
float af_bandwidth);
55 void setVolume(
float volume);
58 void setSquelch(
float squelch);
60 qint32 getAudioStereo();
61 void setAudioStereo(qint32 audio_stereo);
63 qint32 getLsbStereo();
64 void setLsbStereo(qint32 lsb_stereo);
66 qint32 getShowPilot();
67 void setShowPilot(qint32 show_pilot);
69 qint32 getRdsActive();
70 void setRdsActive(qint32 rds_active);
73 void setRgbColor(qint32 rgb_color);
76 void setTitle(QString* title);
78 QString* getAudioDeviceName();
79 void setAudioDeviceName(QString* audio_device_name);
81 qint32 getUseReverseApi();
82 void setUseReverseApi(qint32 use_reverse_api);
84 QString* getReverseApiAddress();
85 void setReverseApiAddress(QString* reverse_api_address);
87 qint32 getReverseApiPort();
88 void setReverseApiPort(qint32 reverse_api_port);
90 qint32 getReverseApiDeviceIndex();
91 void setReverseApiDeviceIndex(qint32 reverse_api_device_index);
93 qint32 getReverseApiChannelIndex();
94 void setReverseApiChannelIndex(qint32 reverse_api_channel_index);
97 virtual bool isSet()
override;
bool m_audio_device_name_isSet
qint64 input_frequency_offset
bool m_reverse_api_channel_index_isSet
qint32 reverse_api_device_index
bool m_rf_bandwidth_isSet
qint32 reverse_api_channel_index
QString * audio_device_name
bool m_reverse_api_device_index_isSet
bool m_input_frequency_offset_isSet
bool m_af_bandwidth_isSet
QString * reverse_api_address
bool m_reverse_api_port_isSet
bool m_reverse_api_address_isSet
bool m_audio_stereo_isSet
bool m_use_reverse_api_isSet