From b9e004261b979b885e7348484e302176b30d5b54 Mon Sep 17 00:00:00 2001 From: Michal Ratajsky Date: Thu, 23 Oct 2014 15:21:55 +0200 Subject: pulse: Fully process asynchronous sink/source updates Fixes asynchronous updates of mute and volume --- backends/pulse/pulse-sink.c | 2 ++ backends/pulse/pulse-source.c | 2 ++ 2 files changed, 4 insertions(+) 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 * -- cgit v1.2.1