diff options
author | zheng_wenlong <wenlong_zheng@nexty-ele.com> | 2018-11-07 10:43:39 +0900 |
---|---|---|
committer | zheng_wenlong <wenlong_zheng@nexty-ele.com> | 2018-11-07 10:43:39 +0900 |
commit | c76c903dffed920552459a808f29ff5ad32e10be (patch) | |
tree | 7c3436071ab16941f36a1098163fdd1a408d2c6c /homescreen/src/mastervolume.h | |
parent | 33d31b5bac3c8c9105d43d6566174f39ef7a4ea4 (diff) |
add fullscreen button
Diffstat (limited to 'homescreen/src/mastervolume.h')
-rw-r--r-- | homescreen/src/mastervolume.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/homescreen/src/mastervolume.h b/homescreen/src/mastervolume.h index bca6356..645968a 100644 --- a/homescreen/src/mastervolume.h +++ b/homescreen/src/mastervolume.h @@ -17,6 +17,8 @@ #include <QtCore/QObject> #include <QQmlEngine> +#include <pulse/pulseaudio.h> + class MasterVolume : public QObject { Q_OBJECT @@ -31,7 +33,7 @@ class MasterVolume : public QObject ~MasterVolume() {} uint32_t getVolume() const { return m_volume; } - void setVolume(int volume); + void setVolume(pa_volume_t volume); public slots: void changeExternalVolume(int volume); |