sink-input, source-output: Add hooks for mute changes

This commit is contained in:
Tanu Kaskinen 2014-04-15 13:56:16 +03:00
parent 2f6364dfe4
commit c12aa68e02
3 changed files with 4 additions and 0 deletions

View file

@ -1082,6 +1082,7 @@ void pa_source_output_set_mute(pa_source_output *o, bool mute, bool save) {
o->mute_changed(o);
pa_subscription_post(o->core, PA_SUBSCRIPTION_EVENT_SOURCE_OUTPUT|PA_SUBSCRIPTION_EVENT_CHANGE, o->index);
pa_hook_fire(&o->core->hooks[PA_CORE_HOOK_SOURCE_OUTPUT_MUTE_CHANGED], o);
}
/* Called from main thread */