summaryrefslogtreecommitdiff
path: root/src/pulsecore/sink-input.c
diff options
context:
space:
mode:
authorTanu Kaskinen <tanu.kaskinen@linux.intel.com>2014-04-15 13:56:16 +0300
committerTanu Kaskinen <tanu.kaskinen@linux.intel.com>2014-05-02 16:00:56 +0300
commitc12aa68e02cd18d99c06ace96931b0ada9848ad2 (patch)
treeb7213d37ab8d0d83ff4c666cbbb9fdc2c329468a /src/pulsecore/sink-input.c
parent2f6364dfe454d3fe21cf98854ac8942870e52436 (diff)
sink-input, source-output: Add hooks for mute changes
Diffstat (limited to 'src/pulsecore/sink-input.c')
-rw-r--r--src/pulsecore/sink-input.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pulsecore/sink-input.c b/src/pulsecore/sink-input.c
index ec504cfd9..6169d47f1 100644
--- a/src/pulsecore/sink-input.c
+++ b/src/pulsecore/sink-input.c
@@ -1424,6 +1424,7 @@ void pa_sink_input_set_mute(pa_sink_input *i, bool mute, bool save) {
i->mute_changed(i);
pa_subscription_post(i->core, PA_SUBSCRIPTION_EVENT_SINK_INPUT|PA_SUBSCRIPTION_EVENT_CHANGE, i->index);
+ pa_hook_fire(&i->core->hooks[PA_CORE_HOOK_SINK_INPUT_MUTE_CHANGED], i);
}
/* Called from main thread */