[pulseaudio-discuss] [PATCH v2] alsa-mixer: Add support for "Headphone+LO" and "Speaker+LO"
Raymond Yau
superquad.vortex2 at gmail.com
Wed Nov 5 08:48:02 PST 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>
>>> ---
>>>
>>> v2: Addressed comments by Tanu
>>>
>>> src/modules/alsa/mixer/paths/analog-output-headphones-2.conf | 8
++++++++
>>> src/modules/alsa/mixer/paths/analog-output-headphones.conf | 11
+++++++++++
>>> src/modules/alsa/mixer/paths/analog-output-lineout.conf | 12
++++++++++++
>>> src/modules/alsa/mixer/paths/analog-output-mono.conf | 10
++++++++++
>>> .../alsa/mixer/paths/analog-output-speaker-always.conf | 10
++++++++++
>>> src/modules/alsa/mixer/paths/analog-output-speaker.conf | 11
+++++++++++
>>> 6 files changed, 62 insertions(+)
>>>
>>> diff --git
a/src/modules/alsa/mixer/paths/analog-output-headphones-2.conf
b/src/modules/alsa/mixer/paths/analog-output-headphones-2.conf
>>> index 74c467a..e29331b 100644
>>> --- a/src/modules/alsa/mixer/paths/analog-output-headphones-2.conf
>>> +++ b/src/modules/alsa/mixer/paths/analog-output-headphones-2.conf
>>> @@ -48,6 +48,14 @@ volume = off
>>> switch = mute
>>> volume = zero
>>>
>>> +[Element Headphone+LO]
>>> +switch = mute
>>> +volume = zero
>>
>>
>> I think these should be "off". Why would you want to set the headphone
>> and lineout output to maximum when you start to use the headphones 2
>> jack? If both jacks are connected to speakers, things are going to get
>> loud...
>
>
> AFAIK, I don't think the hda driver ever creates a "Headphone 2" volume
control. And the hda driver is the only one who ever creates a
"Headphone+LO" volume control.
>
> So this is all very theoretical and is very unlikely to ever exist.
> But if it did, chances are that a "Headphone+LO" volume control would
also control the "headphone 2" path. And that all Line Outs would be
automuted.
>
why do pulseaudio have headphone2.conf if there is no driver use headphone2
playback volume?
Only those 3stack motherboard with 10 channel hda codec alc892 can retask
the front panel mic as another headphone
http://voices.canonical.com/david.henningsson/2011/11/29/turn-your-mic-jack-into-a-headphone-jack/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20141106/f6447854/attachment.html>
More information about the pulseaudio-discuss
mailing list