[pulseaudio-discuss] [PATCH v2 0/6] Remember card's "preferred ports"

Tanu Kaskinen tanuk at iki.fi
Fri Mar 4 11:23:08 UTC 2016


On Fri, 2016-03-04 at 12:57 +0200, Tanu Kaskinen wrote:
> These patches fix https://bugs.freedesktop.org/show_bug.cgi?id=93946
> 
> Changes in v2:
>   * moved the preferred port variables to pa_card
>   * implemented preferred port persistence with card-restore
>   * switch-on-port-available: update card_info->active_profile always
>     in the profile changed hook callback, not only when the change is
>     initiated by the user
> 
> Tanu Kaskinen (6):
>   switch-on-port-available: unify input/output switching policy
>   switch-on-port-available: fix inverted if condition
>   switch-on-port-available: avoid repetitive pointer deferencing
>   card: add preferred_{input,output}_port
>   card-restore: restore preferred ports
>   switch-on-port-available: prefer ports that have been selected by the
>     user

Gah, I forgot to test the card-restore part before sending, and it
doesn't seem to work...

-- 
Tanu


More information about the pulseaudio-discuss mailing list