]> code.delx.au - pulseaudio/blob - src/modules/alsa/mixer/paths/analog-input-mic.conf
alsa-mixer: Support more phantom jacks
[pulseaudio] / src / modules / alsa / mixer / paths / analog-input-mic.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 ; For devices where a 'Mic' or 'Mic Boost' element exists
18 ;
19 ; See analog-output.conf.common for an explanation on the directives
20
21 [General]
22 priority = 87
23 name = analog-input-microphone
24
25 [Jack Mic]
26 required-any = any
27
28 [Jack Mic Phantom]
29 required-any = any
30 state.plugged = unknown
31 state.unplugged = unknown
32
33 [Element Mic Boost]
34 required-any = any
35 switch = select
36 volume = merge
37 override-map.1 = all
38 override-map.2 = all-left,all-right
39
40 [Option Mic Boost:on]
41 name = input-boost-on
42
43 [Option Mic Boost:off]
44 name = input-boost-off
45
46 [Element Mic]
47 required-any = any
48 switch = mute
49 volume = merge
50 override-map.1 = all
51 override-map.2 = all-left,all-right
52
53 [Element Capture]
54 switch = mute
55 volume = merge
56 override-map.1 = all
57 override-map.2 = all-left,all-right
58
59 [Element Input Source]
60 enumeration = select
61
62 [Option Input Source:Mic]
63 name = analog-input-microphone
64 required-any = any
65
66 [Element Capture Source]
67 enumeration = select
68
69 [Option Capture Source:Mic]
70 name = analog-input-microphone
71 required-any = any
72
73 ;;; Some AC'97s have "Mic Select" and "Mic Boost (+20dB)"
74
75 [Element Mic Select]
76 enumeration = select
77
78 [Option Mic Select:Mic1]
79 name = input-microphone
80 priority = 20
81
82 [Option Mic Select:Mic2]
83 name = input-microphone
84 priority = 19
85
86 [Element Mic Boost (+20dB)]
87 switch = select
88 volume = merge
89
90 [Option Mic Boost (+20dB):on]
91 name = input-boost-on
92
93 [Option Mic Boost (+20dB):off]
94 name = input-boost-off
95
96 [Element Front Mic]
97 switch = off
98 volume = off
99
100 [Element Internal Mic]
101 switch = off
102 volume = off
103
104 [Element Rear Mic]
105 switch = off
106 volume = off
107
108 [Element Dock Mic]
109 switch = off
110 volume = off
111
112 [Element Dock Mic Boost]
113 switch = off
114 volume = off
115
116 [Element Internal Mic Boost]
117 switch = off
118 volume = off
119
120 [Element Front Mic Boost]
121 switch = off
122 volume = off
123
124 [Element Rear Mic Boost]
125 switch = off
126 volume = off
127
128 .include analog-input-mic.conf.common