diff options
author | Michal Ratajsky <[email protected]> | 2014-10-23 15:21:55 +0200 |
---|---|---|
committer | Michal Ratajsky <[email protected]> | 2014-10-23 15:21:55 +0200 |
commit | b9e004261b979b885e7348484e302176b30d5b54 (patch) | |
tree | 8afcd312557d2fba60743d84e6f27be05e123d1e /backends/pulse | |
parent | 58813dced7af24f5fe5228481e6c12ada56cb1a5 (diff) | |
download | libmatemixer-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/pulse')
-rw-r--r-- | backends/pulse/pulse-sink.c | 2 | ||||
-rw-r--r-- | backends/pulse/pulse-source.c | 2 |
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 * |