[pulseaudio-discuss] [PATCH 2/2] alsa: Reread and upate jack status when a card is unsuspended

Arun Raghavan arun at arunraghavan.net
Wed May 11 03:44:19 UTC 2016


On Tue, 10 May 2016, at 10:17 PM, Tanu Kaskinen wrote:
> 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.

Thanks for the review -- did this and pushed now.

-- Arun


More information about the pulseaudio-discuss mailing list