[pulseaudio-discuss] [PATCH 0/2] Suppress the analog-output path when it's redundant

Tanu Kaskinen tanu.kaskinen at linux.intel.com
Mon Aug 18 03:53:52 PDT 2014


On Mon, 2014-08-18 at 00:19 +0800, Raymond Yau wrote:
> >
> > The analog-output path should be used only when more specific
> outputs
> > don't exist, so usually it should be suppressed, and currently that
> > doesn't happen. One practical problem caused by that is that the
> > analog-output port may get chosen during boot if headphones are
> > plugged in, because analog-output has higher priority than
> headphones
> > and the speaker port is unavailable[1]. That particular problem
> could
> > maybe be fixed by decreasing the analog-output priority, or by
> > tweaking module-switch-on-port-available, but this time I decided to
> > fix the problem of analog-output appearing when it's redundant.
> >
> > [1] https://bugs.freedesktop.org/show_bug.cgi?id=74609
> >
> > Tanu Kaskinen (2):
> >   alsa-mixer: Fix path subset detection
> >   alsa-mixer: Ignore some elements in the analog-output path
> >
> >  src/modules/alsa/alsa-mixer.c                   | 26
> +++++++++----------
> >  src/modules/alsa/mixer/paths/analog-output.conf | 34
> -------------------------
> >  2 files changed, 13 insertions(+), 47 deletions(-)
> >
> > --
> 
> It seem that pulseaudio assume headphone playback volume always exist
> but it seem that some hda codec only have one volume control 

I'm not aware of such assumption in pulseaudio. Can you point out where
the assumption is?

-- 
Tanu



More information about the pulseaudio-discuss mailing list