9e22008c955211bf9dc5dc7139e89dce10a7caf4
[platform/hal/backend/media-config.git] /
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 'Internal Mic' or 'Internal Mic Boost' element exists
17 ; 'Int Mic' and 'Int Mic Boost' are for compatibility with kernels < 2.6.38
18 ;
19 ; See analog-output.conf.common for an explanation on the directives
20
21 [General]
22 priority = 89
23 description-key = analog-input-microphone-internal
24
25 [Jack Mic]
26 state.plugged = no
27 state.unplugged = unknown
28
29 [Jack Dock Mic]
30 state.plugged = no
31 state.unplugged = unknown
32
33 [Jack Front Mic]
34 state.plugged = no
35 state.unplugged = unknown
36
37 [Jack Rear Mic]
38 state.plugged = no
39 state.unplugged = unknown
40
41 [Element Capture]
42 switch = mute
43 volume = merge
44 override-map.1 = all
45 override-map.2 = all-left,all-right
46
47 [Element Internal Mic Boost]
48 switch = select
49 volume = merge
50 override-map.1 = all
51 override-map.2 = all-left,all-right
52
53 [Option Internal Mic Boost:on]
54 name = input-boost-on
55
56 [Option Internal Mic Boost:off]
57 name = input-boost-off
58
59 [Element Int Mic Boost]
60 switch = select
61 volume = merge
62 override-map.1 = all
63 override-map.2 = all-left,all-right
64
65 [Option Int Mic Boost:on]
66 name = input-boost-on
67
68 [Option Int Mic Boost:off]
69 name = input-boost-off
70
71 [Element Internal Mic]
72 switch = mute
73 volume = merge
74 override-map.1 = all
75 override-map.2 = all-left,all-right
76
77 [Element Int Mic]
78 switch = mute
79 volume = merge
80 override-map.1 = all
81 override-map.2 = all-left,all-right
82
83 [Element Input Source]
84 enumeration = select
85
86 [Option Input Source:Internal Mic]
87 name = analog-input-microphone-internal
88
89 [Option Input Source:Int Mic]
90 name = analog-input-microphone-internal
91
92 [Element Capture Source]
93 enumeration = select
94
95 [Option Capture Source:Internal Mic]
96 name = analog-input-microphone-internal
97
98 [Option Capture Source:Int Mic]
99 name = analog-input-microphone-internal
100
101 [Element Mic]
102 switch = off
103 volume = off
104
105 [Element Dock Mic]
106 switch = off
107 volume = off
108
109 [Element Front Mic]
110 switch = off
111 volume = off
112
113 [Element Rear Mic]
114 switch = off
115 volume = off
116
117 [Element Mic Boost]
118 switch = off
119 volume = off
120
121 [Element Dock Mic Boost]
122 switch = off
123 volume = off
124
125 [Element Front Mic Boost]
126 switch = off
127 volume = off
128
129 [Element Rear Mic Boost]
130 switch = off
131 volume = off
132
133 .include analog-input-mic.conf.common