19 #ifndef SWGSSBModSettings_H_ 20 #define SWGSSBModSettings_H_ 22 #include <QJsonObject> 41 virtual QString asJson ()
override;
42 virtual QJsonObject* asJsonObject()
override;
43 virtual void fromJsonObject(QJsonObject &json)
override;
46 qint64 getInputFrequencyOffset();
47 void setInputFrequencyOffset(qint64 input_frequency_offset);
50 void setBandwidth(
float bandwidth);
53 void setLowCutoff(
float low_cutoff);
56 void setUsb(qint32 usb);
58 float getToneFrequency();
59 void setToneFrequency(
float tone_frequency);
61 float getVolumeFactor();
62 void setVolumeFactor(
float volume_factor);
65 void setSpanLog2(qint32 span_log2);
67 qint32 getAudioBinaural();
68 void setAudioBinaural(qint32 audio_binaural);
70 qint32 getAudioFlipChannels();
71 void setAudioFlipChannels(qint32 audio_flip_channels);
74 void setDsb(qint32 dsb);
76 qint32 getAudioMute();
77 void setAudioMute(qint32 audio_mute);
80 void setPlayLoop(qint32 play_loop);
83 void setAgc(qint32 agc);
86 void setRgbColor(qint32 rgb_color);
89 void setTitle(QString* title);
91 QString* getAudioDeviceName();
92 void setAudioDeviceName(QString* audio_device_name);
94 qint32 getModAfInput();
95 void setModAfInput(qint32 mod_af_input);
97 qint32 getUseReverseApi();
98 void setUseReverseApi(qint32 use_reverse_api);
100 QString* getReverseApiAddress();
101 void setReverseApiAddress(QString* reverse_api_address);
103 qint32 getReverseApiPort();
104 void setReverseApiPort(qint32 reverse_api_port);
106 qint32 getReverseApiDeviceIndex();
107 void setReverseApiDeviceIndex(qint32 reverse_api_device_index);
109 qint32 getReverseApiChannelIndex();
110 void setReverseApiChannelIndex(qint32 reverse_api_channel_index);
116 virtual bool isSet()
override;
QString * reverse_api_address
bool m_audio_binaural_isSet
qint64 input_frequency_offset
bool m_use_reverse_api_isSet
qint32 audio_flip_channels
bool m_audio_flip_channels_isSet
QString * audio_device_name
bool m_input_frequency_offset_isSet
bool m_mod_af_input_isSet
qint32 reverse_api_device_index
bool m_reverse_api_device_index_isSet
bool m_reverse_api_port_isSet
SWGCWKeyerSettings * cw_keyer
bool m_reverse_api_address_isSet
bool m_volume_factor_isSet
bool m_audio_device_name_isSet
qint32 reverse_api_channel_index
bool m_tone_frequency_isSet
bool m_reverse_api_channel_index_isSet