aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRonan Le Martret <ronan.lemartret@iot.bzh>2018-07-20 16:08:01 +0200
committerRonan Le Martret <ronan.lemartret@iot.bzh>2018-07-20 16:08:38 +0200
commit49378531c5e3847212fedbb09bfc6c78ba58dc2d (patch)
tree2299dccb89579c5244fc4832e96ed5797f1d0de9
parentb4db06287bc997ded71deab50ff0ff5889b09e1f (diff)
Remove useless ref to pulseaudiosandbox/ronan/4a-next
Change-Id: Ib7b784452b767c76beb1bd320c4bce6f7039a929 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
-rw-r--r--homescreen/src/mastervolume.cpp2
-rw-r--r--homescreen/src/mastervolume.h4
2 files changed, 2 insertions, 4 deletions
diff --git a/homescreen/src/mastervolume.cpp b/homescreen/src/mastervolume.cpp
index 5e1e450..9fb92a9 100644
--- a/homescreen/src/mastervolume.cpp
+++ b/homescreen/src/mastervolume.cpp
@@ -16,7 +16,7 @@
#include "mastervolume.h"
-void MasterVolume::setVolume(pa_volume_t volume)
+void MasterVolume::setVolume(int volume)
{
int volume_delta = volume - m_volume;
m_volume = volume;
diff --git a/homescreen/src/mastervolume.h b/homescreen/src/mastervolume.h
index 645968a..bca6356 100644
--- a/homescreen/src/mastervolume.h
+++ b/homescreen/src/mastervolume.h
@@ -17,8 +17,6 @@
#include <QtCore/QObject>
#include <QQmlEngine>
-#include <pulse/pulseaudio.h>
-
class MasterVolume : public QObject
{
Q_OBJECT
@@ -33,7 +31,7 @@ class MasterVolume : public QObject
~MasterVolume() {}
uint32_t getVolume() const { return m_volume; }
- void setVolume(pa_volume_t volume);
+ void setVolume(int volume);
public slots:
void changeExternalVolume(int volume);