summaryrefslogtreecommitdiff
path: root/backends
diff options
context:
space:
mode:
authorMichal Ratajsky <[email protected]>2014-10-23 15:21:55 +0200
committerMichal Ratajsky <[email protected]>2014-10-23 15:21:55 +0200
commitb9e004261b979b885e7348484e302176b30d5b54 (patch)
tree8afcd312557d2fba60743d84e6f27be05e123d1e /backends
parent58813dced7af24f5fe5228481e6c12ada56cb1a5 (diff)
downloadlibmatemixer-b9e004261b979b885e7348484e302176b30d5b54.tar.bz2
libmatemixer-b9e004261b979b885e7348484e302176b30d5b54.tar.xz
pulse: Fully process asynchronous sink/source updates
Fixes asynchronous updates of mute and volume
Diffstat (limited to 'backends')
-rw-r--r--backends/pulse/pulse-sink.c2
-rw-r--r--backends/pulse/pulse-source.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/backends/pulse/pulse-sink.c b/backends/pulse/pulse-sink.c
index aedd5c8..d71ac47 100644
--- a/backends/pulse/pulse-sink.c
+++ b/backends/pulse/pulse-sink.c
@@ -229,6 +229,8 @@ pulse_sink_update (PulseSink *sink, const pa_sink_info *info)
info->active_port->name);
sink->priv->monitor = info->monitor_source;
+
+ pulse_sink_control_update (sink->priv->control, info);
}
guint32
diff --git a/backends/pulse/pulse-source.c b/backends/pulse/pulse-source.c
index 99c7432..39ec9b7 100644
--- a/backends/pulse/pulse-source.c
+++ b/backends/pulse/pulse-source.c
@@ -223,6 +223,8 @@ pulse_source_update (PulseSource *source,
if (info->active_port != NULL)
pulse_port_switch_set_active_port_by_name (source->priv->pswitch,
info->active_port->name);
+
+ pulse_source_control_update (source->priv->control, info);
}
static const GList *