[pulseaudio-discuss] [PATCH] core: New hook: PA_CORE_HOOK_CARD_PROFILE_ABOUT_TO_ACTIVATE.

Tanu Kaskinen tanu.kaskinen at digia.com
Wed Oct 19 03:59:29 PDT 2011


On Wed, 2011-10-19 at 13:46 +0300, Tanu Kaskinen wrote:
> One possibility would be CARD_PROFILE_ACTIVATING. I think that would
> imply that it's fired prior to the actual activation. That's my vote
> currently :)

I've changed my vote again. Now I vote for CARD_PROVILE_ACTIVATE_START.
I don't personally mind if there will never be a matching _FINISH hook.

One thing came to my mind that I can use to strengthen my argument for
having separate concepts for card profile change and card profile
activation: when a card is created, I think it shouldn't fire a "profile
changed" hook, but it should fire a "profile activate start" hook.

-- 
Tanu



More information about the pulseaudio-discuss mailing list