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

Tanu Kaskinen tanu.kaskinen at digia.com
Wed Oct 19 04:32:09 PDT 2011


On Wed, 2011-10-19 at 14:29 +0300, David Henningsson wrote:
> Looks good and does not seem to interfere with anything in the jack 
> detection patches. Having a card pointer might even be helpful.
> 
> Just a thought: Can profiles be added after pa_card_new? In that case 
> they will never get a correct card pointer.

No, I checked what code adds stuff to pa_card.profiles, and
pa_card_new() turned out to be the only place.

-- 
Tanu



More information about the pulseaudio-discuss mailing list