[pulseaudio-discuss] [PATCH] Don't settle on a card profile if it doesn't have any available port
Raymond Yau
superquad.vortex2 at gmail.com
Sat Mar 21 01:16:18 PDT 2015
>
> When creating a new card and selecting a new profile we need to check
> whether there's a port available for that profile before settling on it,
> or we might end up with a useless profile when we might have others that
> would be a better choice.
Most PCI/PCIE sound cards used by desktop does not have any jack detection
do you consider them as always available ?
>
> In order to achieve this, we need to make sure that port availability
> based on the state of the actual alsa jacks for a path is properly
> initialized before creating the card, so that we can make the right
> decision once its created, by checking the card's port availability.
>
> This patch avoids scenarios like starting with the analog-stereo profile
> selected when there are neither built-in speakers nor an external
> headset connected, even when the device is connected to an external
> screen with audio capabilities through HDMI (so it could use the
> available hdmi-output port from the the hdmi-stereo profile).
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20150321/82a3a9b7/attachment.html>
More information about the pulseaudio-discuss
mailing list