aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/volume-control-pulse.vala2
-rw-r--r--tests/integration/utils/dbus-pulse-volume.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/volume-control-pulse.vala b/src/volume-control-pulse.vala
index 950cdaf..042c1c1 100644
--- a/src/volume-control-pulse.vala
+++ b/src/volume-control-pulse.vala
@@ -628,7 +628,7 @@ public class VolumeControlPulse : VolumeControl
}
set {
var volume_changed = (value.volume != _volume.volume);
- debug("Setting volume to %f for profile %d because %d", value.volume, _active_sink_input, value.reason);
+ warning("Setting volume to %f for profile %d because %d", value.volume, _active_sink_input, value.reason);
_volume = value;
diff --git a/tests/integration/utils/dbus-pulse-volume.cpp b/tests/integration/utils/dbus-pulse-volume.cpp
index 6989754..b42ea15 100644
--- a/tests/integration/utils/dbus-pulse-volume.cpp
+++ b/tests/integration/utils/dbus-pulse-volume.cpp
@@ -56,9 +56,9 @@ DBusPulseVolume::DBusPulseVolume() :
qDebug() << "********************************Connetion: " << connection_string.value().toString();
-// connection_.reset(new QDBusConnection(QDBusConnection::connectToPeer(connection_string.value().toString(), "set-volume")));
+ connection_.reset(new QDBusConnection(QDBusConnection::connectToPeer(connection_string.value().toString(), "set-volume")));
- connection_.reset(new QDBusConnection(QDBusConnection::connectToPeer("unix:path=/run/user/1000/pulse/dbus-socket", "set-volume")));
+// connection_.reset(new QDBusConnection(QDBusConnection::connectToPeer("unix:path=/run/user/1000/pulse/dbus-socket", "set-volume")));
qDebug() << "Is connected " << connection_->isConnected();
if (connection_->isConnected())