19 #ifndef SWGAudioInputDevice_H_ 20 #define SWGAudioInputDevice_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);
61 void setVolume(
float volume);
64 virtual bool isSet()
override;