On Mon, 2016-05-09 at 15:40 +0530, Arun Raghavan wrote:
> @@ -369,6 +369,8 @@ int pa_card_suspend(pa_card *c, bool suspend,
> pa_suspend_cause_t cause) {
> else
> c->suspend_cause &= ~cause;
>
> + pa_hook_fire(&c->core->hooks[PA_CORE_HOOK_CARD_SUSPEND_CHANGED], c);
I'd like to have a check that ensures that c->suspend_cause actually
changed before firing the hook.
Otherwise looks good.
--
Tanu
_______________________________________________
pulseaudio-discuss mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss