[pulseaudio-discuss] [PATCH 7/8] module-alsa-card: Report available ports before unavailable ones

Tanu Kaskinen tanuk at iki.fi
Tue Oct 20 03:24:46 PDT 2015


On Tue, 2015-05-05 at 17:01 +0200, David Henningsson wrote:
> In case the same jack causes one port to become available and another
> one unavailable, the available should be reported first.
> 
> This is to avoid unnecessary changes: e g, consider a 'Headphone Jack'
> making 'Headphone' available and 'Speaker' unavailable. In case the
> unavailable change triggers first, and there is also a currently available
> third port (e g 'Digital out'), the routing system might choose to route
> to this port because neither of the 'Speaker' and 'Headphone' ports are
> available.
> 
> Signed-off-by: David Henningsson <david.henningsson at canonical.com>
> ---
>  src/modules/alsa/module-alsa-card.c | 36 ++++++++++++++++++++++++++++--------
>  1 file changed, 28 insertions(+), 8 deletions(-)

I pushed this, since this is useful independently of the other patches.

-- 
Tanu


More information about the pulseaudio-discuss mailing list