[pulseaudio-discuss] [PATCH] alsa-mixer: Add support for "Headphone+LO" and "Speaker+LO"
Raymond Yau
superquad.vortex2 at gmail.com
Wed Oct 29 18:31:15 PDT 2014
> > These two control names are currently being added to the HDA driver,
> > so let's support them in PulseAudio as well.
> >
> > Signed-off-by: David Henningsson <david.henningsson at canonical.com>
> > ---
> > src/modules/alsa/mixer/paths/analog-output-headphones.conf | 10
++++++++++
> > src/modules/alsa/mixer/paths/analog-output-lineout.conf | 12
++++++++++++
> > .../alsa/mixer/paths/analog-output-speaker-always.conf | 10
++++++++++
> > src/modules/alsa/mixer/paths/analog-output-speaker.conf | 10
++++++++++
>
> I believe the new elements should be added to analog-output-headphones-2
> and analog-output-mono too.
>
> > 4 files changed, 42 insertions(+)
> >
> > diff --git a/src/modules/alsa/mixer/paths/analog-output-headphones.conf
b/src/modules/alsa/mixer/paths/analog-output-headphones.conf
> > index a41d41f..1645f14 100644
> > --- a/src/modules/alsa/mixer/paths/analog-output-headphones.conf
> > +++ b/src/modules/alsa/mixer/paths/analog-output-headphones.conf
> > @@ -69,6 +69,16 @@ override-map.2 = all-left,all-right
> > switch = off
> > volume = off
> >
> > +[Element Speaker+LO]
> > +switch = off
> > +volume = off
> > +
> > +[Element Headphone+LO]
> > +switch = mute
> > +volume = merge
> > +override-map.1 = all
> > +override-map.2 = all-left,all-right
>
> I think "required-any = any" should be added.
It seem the corresponding alsa patch only share volume control, headphone
and line out still have their own mute switch, the driver don't create
"Headphone+LO Playback Switch"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20141030/069f47a1/attachment.html>
More information about the pulseaudio-discuss
mailing list