]> code.delx.au - pulseaudio/blob - src/modules/alsa/mixer/paths/analog-output-headphones.conf
alsa-mixer: Support more phantom jacks
[pulseaudio] / src / modules / alsa / mixer / paths / analog-output-headphones.conf
1 # This file is part of PulseAudio.
2 #
3 # PulseAudio is free software; you can redistribute it and/or modify
4 # it under the terms of the GNU Lesser General Public License as
5 # published by the Free Software Foundation; either version 2.1 of the
6 # License, or (at your option) any later version.
7 #
8 # PulseAudio is distributed in the hope that it will be useful, but
9 # WITHOUT ANY WARRANTY; without even the implied warranty of
10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 # General Public License for more details.
12 #
13 # You should have received a copy of the GNU Lesser General Public License
14 # along with PulseAudio; if not, write to the Free Software Foundation,
15 # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
16
17 ; Path for mixers that have a 'Headphone' control
18 ;
19 ; See analog-output.conf.common for an explanation on the directives
20
21 [General]
22 priority = 90
23 name = analog-output-headphones
24
25 [Properties]
26 device.icon_name = audio-headphones
27
28 [Jack Front Headphone]
29 required-any = any
30
31 [Jack Front Headphone Phantom]
32 required-any = any
33 state.plugged = unknown
34 state.unplugged = unknown
35
36 [Jack Headphone]
37 required-any = any
38
39 [Jack Headphone Phantom]
40 required-any = any
41 state.plugged = unknown
42 state.unplugged = unknown
43
44 # This jack can be either a headphone *or* a mic. Used on some ASUS netbooks.
45 [Jack Headphone Mic]
46 required-any = any
47 state.plugged = unknown
48
49 [Element Hardware Master]
50 switch = mute
51 volume = merge
52 override-map.1 = all
53 override-map.2 = all-left,all-right
54
55 [Element Master]
56 switch = mute
57 volume = merge
58 override-map.1 = all
59 override-map.2 = all-left,all-right
60
61 [Element Master Mono]
62 switch = off
63 volume = off
64
65 [Element Headphone]
66 required-any = any
67 switch = mute
68 volume = merge
69 override-map.1 = all
70 override-map.2 = all-left,all-right
71
72 [Element Line HP Swap]
73 switch = on
74
75 ; This profile path is intended to control the first headphones, not
76 ; the second headphones. But it should not hurt if we leave the second
77 ; headphone jack enabled nonetheless.
78 [Element Headphone2]
79 switch = mute
80 volume = zero
81
82 [Element Speaker]
83 switch = off
84 volume = off
85
86 [Element Desktop Speaker]
87 switch = off
88 volume = off
89
90 ; On some machines Front is actually a part of the Headphone path
91 [Element Front]
92 switch = mute
93 volume = zero
94
95 [Element Rear]
96 switch = off
97 volume = off
98
99 [Element Surround]
100 switch = off
101 volume = off
102
103 [Element Side]
104 switch = off
105 volume = off
106
107 [Element Center]
108 switch = off
109 volume = off
110
111 [Element LFE]
112 switch = off
113 volume = off
114
115 .include analog-output.conf.common