]> code.delx.au - pulseaudio/blob - src/modules/alsa/mixer/paths/analog-output-headphones.conf
alsa-mixer: Add device.icon-name property for some common ports
[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 Headphone]
32 required-any = any
33
34 # This jack can be either a headphone *or* a mic. Used on some ASUS netbooks.
35 [Jack Headphone Mic]
36 required-any = any
37 state.plugged = unknown
38
39 [Element Hardware Master]
40 switch = mute
41 volume = merge
42 override-map.1 = all
43 override-map.2 = all-left,all-right
44
45 [Element Master]
46 switch = mute
47 volume = merge
48 override-map.1 = all
49 override-map.2 = all-left,all-right
50
51 [Element Master Mono]
52 switch = off
53 volume = off
54
55 [Element Headphone]
56 required-any = any
57 switch = mute
58 volume = merge
59 override-map.1 = all
60 override-map.2 = all-left,all-right
61
62 [Element Line HP Swap]
63 switch = on
64
65 ; This profile path is intended to control the first headphones, not
66 ; the second headphones. But it should not hurt if we leave the second
67 ; headphone jack enabled nonetheless.
68 [Element Headphone2]
69 switch = mute
70 volume = zero
71
72 [Element Speaker]
73 switch = off
74 volume = off
75
76 [Element Desktop Speaker]
77 switch = off
78 volume = off
79
80 ; On some machines Front is actually a part of the Headphone path
81 [Element Front]
82 switch = mute
83 volume = zero
84
85 [Element Rear]
86 switch = off
87 volume = off
88
89 [Element Surround]
90 switch = off
91 volume = off
92
93 [Element Side]
94 switch = off
95 volume = off
96
97 [Element Center]
98 switch = off
99 volume = off
100
101 [Element LFE]
102 switch = off
103 volume = off
104
105 .include analog-output.conf.common