]> code.delx.au - pulseaudio/blob - src/modules/alsa/mixer/paths/analog-output-desktop-speaker.conf
alsa: cover "Desktop Speaker" mixer elements
[pulseaudio] / src / modules / alsa / mixer / paths / analog-output-desktop-speaker.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 'Desktop Speaker' control
18 ;
19 ; See analog-output.conf.common for an explanation on the directives
20
21 [General]
22 priority = 100
23
24 [Element Hardware Master]
25 switch = mute
26 volume = merge
27 override-map.1 = all
28 override-map.2 = all-left,all-right
29
30 [Element Master]
31 switch = mute
32 volume = merge
33 override-map.1 = all
34 override-map.2 = all-left,all-right
35
36 [Element Master Mono]
37 switch = off
38 volume = off
39
40 ; This profile path is intended to control the desktop speaker, not
41 ; the headphones. But it should not hurt if we leave the headphone
42 ; jack enabled nonetheless.
43 [Element Headphone]
44 switch = mute
45 volume = zero
46
47 [Element Headphone2]
48 switch = mute
49 volume = zero
50
51 [Element Speaker]
52 switch = off
53 volume = off
54
55 [Element Desktop Speaker]
56 required = any
57 switch = mute
58 volume = merge
59 override-map.1 = all
60 override-map.2 = all-left,all-right
61
62 [Element Front]
63 switch = mute
64 volume = merge
65 override-map.1 = all-front
66 override-map.2 = front-left,front-right
67
68 [Element Rear]
69 switch = mute
70 volume = merge
71 override-map.1 = all-rear
72 override-map.2 = rear-left,rear-right
73
74 [Element Surround]
75 switch = mute
76 volume = merge
77 override-map.1 = all-rear
78 override-map.2 = rear-left,rear-right
79
80 [Element Side]
81 switch = mute
82 volume = merge
83 override-map.1 = all-side
84 override-map.2 = side-left,side-right
85
86 [Element Center]
87 switch = mute
88 volume = merge
89 override-map.1 = all-center
90 override-map.2 = all-center,all-center
91
92 [Element LFE]
93 switch = mute
94 volume = merge
95 override-map.1 = lfe
96 override-map.2 = lfe,lfe
97
98 .include analog-output.conf.common