19 #ifndef SWGUDPSourceSettings_H_    20 #define SWGUDPSourceSettings_H_    22 #include <QJsonObject>    40     virtual QString asJson () 
override;
    41     virtual QJsonObject* asJsonObject() 
override;
    42     virtual void fromJsonObject(QJsonObject &json) 
override;
    45     qint32 getSampleFormat();
    46     void setSampleFormat(qint32 sample_format);
    48     float getInputSampleRate();
    49     void setInputSampleRate(
float input_sample_rate);
    51     qint64 getInputFrequencyOffset();
    52     void setInputFrequencyOffset(qint64 input_frequency_offset);
    54     float getRfBandwidth();
    55     void setRfBandwidth(
float rf_bandwidth);
    58     void setLowCutoff(
float low_cutoff);
    60     qint32 getFmDeviation();
    61     void setFmDeviation(qint32 fm_deviation);
    63     float getAmModFactor();
    64     void setAmModFactor(
float am_mod_factor);
    66     qint32 getChannelMute();
    67     void setChannelMute(qint32 channel_mute);
    70     void setGainIn(
float gain_in);
    73     void setGainOut(
float gain_out);
    76     void setSquelch(
float squelch);
    78     float getSquelchGate();
    79     void setSquelchGate(
float squelch_gate);
    81     qint32 getSquelchEnabled();
    82     void setSquelchEnabled(qint32 squelch_enabled);
    84     qint32 getAutoRwBalance();
    85     void setAutoRwBalance(qint32 auto_rw_balance);
    87     qint32 getStereoInput();
    88     void setStereoInput(qint32 stereo_input);
    91     void setRgbColor(qint32 rgb_color);
    93     QString* getUdpAddress();
    94     void setUdpAddress(QString* udp_address);
    97     void setUdpPort(qint32 udp_port);
   100     void setTitle(QString* title);
   102     qint32 getUseReverseApi();
   103     void setUseReverseApi(qint32 use_reverse_api);
   105     QString* getReverseApiAddress();
   106     void setReverseApiAddress(QString* reverse_api_address);
   108     qint32 getReverseApiPort();
   109     void setReverseApiPort(qint32 reverse_api_port);
   111     qint32 getReverseApiDeviceIndex();
   112     void setReverseApiDeviceIndex(qint32 reverse_api_device_index);
   114     qint32 getReverseApiChannelIndex();
   115     void setReverseApiChannelIndex(qint32 reverse_api_channel_index);
   118     virtual bool isSet() 
override;
 
QString * reverse_api_address
bool m_stereo_input_isSet
qint64 input_frequency_offset
bool m_reverse_api_channel_index_isSet
bool m_reverse_api_device_index_isSet
qint32 reverse_api_device_index
bool m_auto_rw_balance_isSet
bool m_am_mod_factor_isSet
bool m_sample_format_isSet
bool m_reverse_api_port_isSet
bool m_squelch_gate_isSet
bool m_reverse_api_address_isSet
bool m_rf_bandwidth_isSet
bool m_use_reverse_api_isSet
qint32 reverse_api_channel_index
bool m_input_sample_rate_isSet
bool m_fm_deviation_isSet
bool m_channel_mute_isSet
bool m_input_frequency_offset_isSet
bool m_squelch_enabled_isSet