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, see <http://www.gnu.org/licenses/>.
15
16; For devices where a 'Rear Mic' or 'Rear Mic Boost' element exists
17;
18; See analog-output.conf.common for an explanation on the directives
19
20[General]
21priority = 82
22description-key = analog-input-microphone-rear
23
24[Jack Rear Mic]
25required-any = any
26
27[Jack Rear Mic - Input]
28required-any = any
29
30[Jack Rear Mic Phantom]
31required-any = any
32state.plugged = unknown
33state.unplugged = unknown
34
35[Element Capture]
36switch = mute
37volume = merge
38override-map.1 = all
39override-map.2 = all-left,all-right
40
41[Element Rear Mic Boost]
42required-any = any
43switch = select
44volume = merge
45override-map.1 = all
46override-map.2 = all-left,all-right
47
48[Option Rear Mic Boost:on]
49name = input-boost-on
50
51[Option Rear Mic Boost:off]
52name = input-boost-off
53
54[Element Rear Mic]
55required-any = any
56switch = mute
57volume = merge
58override-map.1 = all
59override-map.2 = all-left,all-right
60
61[Element Input Source]
62enumeration = select
63
64[Option Input Source:Rear Mic]
65name = analog-input-microphone-rear
66required-any = any
67
68[Element Capture Source]
69enumeration = select
70
71[Option Capture Source:Rear Mic]
72name = analog-input-microphone-rear
73required-any = any
74
75[Element Mic]
76switch = off
77volume = off
78
79[Element Internal Mic]
80switch = off
81volume = off
82
83[Element Front Mic]
84switch = off
85volume = off
86
87[Element Dock Mic]
88switch = off
89volume = off
90
91[Element Mic Boost]
92switch = off
93volume = off
94
95[Element Dock Mic Boost]
96switch = off
97volume = off
98
99[Element Internal Mic Boost]
100switch = off
101volume = off
102
103[Element Front Mic Boost]
104switch = off
105volume = off
106
107.include analog-input-mic.conf.common
108