[pulseaudio-discuss] [PATCH 2/2] alsa-mixer: Ignore some elements in the analog-output path
Tanu Kaskinen
tanu.kaskinen at linux.intel.com
Tue Aug 19 03:09:08 PDT 2014
On Tue, 2014-08-19 at 07:47 +0200, David Henningsson wrote:
>
> On 2014-08-17 13:52, Tanu Kaskinen wrote:
> > The analog-output path should be suppressed when there are more
> > specific paths available. Currently that usually doesn't happen. The
> > suppression can be done with the path subset detection, and this patch
> > makes that work (another approach would be to mark the elements as
> > required-absent, like analog-input does, but I like the subset
> > suppression more, because it requires less stuff in the configuration
> > files). The problem with listing the now-removed elements in
> > analog-output.conf was that if the sound card had e.g. a Speaker
> > element, then the switch behaviour was different between analog-output
> > and analog-output-speakers, so analog-output was not considered a
> > subset of analog-output-speakers.
>
> Removing the "Jack" ones should be okay, because they're required-any in
> lineout.conf, so if these elements exist, there is always a "Line Out".
>
> I'm not sure about removing the elements. Could there be hardware where
> we don't have anything making analog-output-speaker.conf show up, and we
> still want the control over the things you remove below in
> analog-output.conf?
Could you be more specific? If there's nothing that makes
analog-output-speaker show up, then which of these do you think we might
want to control in analog-output: "Line HP Swap", "Headphone",
"Headphone2", "Desktop Speaker"?
--
Tanu
More information about the pulseaudio-discuss
mailing list