19 #ifndef SWGAudioOutputDevice_H_ 20 #define SWGAudioOutputDevice_H_ 22 #include <QJsonObject> 40 virtual QString asJson ()
override;
41 virtual QJsonObject* asJsonObject()
override;
42 virtual void fromJsonObject(QJsonObject &json)
override;
46 void setName(QString* name);
49 void setIndex(qint32 index);
51 qint32 getSampleRate();
52 void setSampleRate(qint32 sample_rate);
54 qint32 getIsSystemDefault();
55 void setIsSystemDefault(qint32 is_system_default);
57 qint32 getDefaultUnregistered();
58 void setDefaultUnregistered(qint32 default_unregistered);
60 qint32 getCopyToUdp();
61 void setCopyToUdp(qint32 copy_to_udp);
63 qint32 getUdpUsesRtp();
64 void setUdpUsesRtp(qint32 udp_uses_rtp);
66 qint32 getUdpChannelMode();
67 void setUdpChannelMode(qint32 udp_channel_mode);
69 qint32 getUdpChannelCodec();
70 void setUdpChannelCodec(qint32 udp_channel_codec);
72 qint32 getUdpDecimationFactor();
73 void setUdpDecimationFactor(qint32 udp_decimation_factor);
75 QString* getUdpAddress();
76 void setUdpAddress(QString* udp_address);
79 void setUdpPort(qint32 udp_port);
82 virtual bool isSet()
override;
qint32 default_unregistered
bool m_udp_channel_mode_isSet
bool m_udp_uses_rtp_isSet
bool m_udp_decimation_factor_isSet
bool m_default_unregistered_isSet
bool m_udp_channel_codec_isSet
bool m_is_system_default_isSet
qint32 udp_decimation_factor