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