Georg Chini pushed to branch master at PulseAudio / pulseaudio
Commits: db788229 by Arun Raghavan at 2019-02-19T04:00:34Z source: Fix a bad condition that made source events not be emitted This broke during a refactor of sink/source state-change. - - - - - 1 changed file: - src/pulsecore/source.c Changes: ===================================== src/pulsecore/source.c ===================================== @@ -438,7 +438,7 @@ static int source_set_state(pa_source *s, pa_source_state_t state, pa_suspend_ca /* If we enter UNLINKED state, then we don't send change notifications. * pa_source_unlink() will send unlink notifications instead. */ - if (state == PA_SOURCE_UNLINKED) { + if (state != PA_SOURCE_UNLINKED) { pa_hook_fire(&s->core->hooks[PA_CORE_HOOK_SOURCE_STATE_CHANGED], s); pa_subscription_post(s->core, PA_SUBSCRIPTION_EVENT_SOURCE | PA_SUBSCRIPTION_EVENT_CHANGE, s->index); } View it on GitLab: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/commit/db788229c66369a7b1283173183662b7f5e6c742 -- View it on GitLab: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/commit/db788229c66369a7b1283173183662b7f5e6c742 You're receiving this email because of your account on gitlab.freedesktop.org.
_______________________________________________ pulseaudio-commits mailing list pulseaudio-commits@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/pulseaudio-commits