]> code.delx.au - pulseaudio/blob - src/modules/alsa/mixer/paths/analog-input-front-mic.conf
Set better priorities on input paths
[pulseaudio] / src / modules / alsa / mixer / paths / analog-input-front-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 'Front Mic' or 'Front Mic Boost' element exists
18 ;
19 ; See analog-output.conf.common for an explanation on the directives
20
21 [General]
22 priority = 85
23 name = analog-input-microphone-front
24
25 [Element Front Mic Boost]
26 required-any = any
27 switch = select
28 volume = merge
29 override-map.1 = all
30 override-map.2 = all-left,all-right
31
32 [Option Front Mic Boost:on]
33 name = input-boost-on
34
35 [Option Front Mic Boost:off]
36 name = input-boost-off
37
38 [Element Front Mic]
39 required-any = any
40 switch = mute
41 volume = merge
42 override-map.1 = all
43 override-map.2 = all-left,all-right
44
45 [Element Capture]
46 switch = mute
47 volume = merge
48 override-map.1 = all
49 override-map.2 = all-left,all-right
50
51 [Element Input Source]
52 enumeration = select
53
54 [Option Input Source:Front Mic]
55 name = analog-input-microphone-front
56 required-any = any
57
58 [Element Capture Source]
59 enumeration = select
60
61 [Option Capture Source:Front Mic]
62 name = analog-input-microphone-front
63 required-any = any
64
65 [Element Mic]
66 switch = off
67 volume = off
68
69 [Element Internal Mic]
70 switch = off
71 volume = off
72
73 [Element Rear Mic]
74 switch = off
75 volume = off
76
77 [Element Dock Mic]
78 switch = off
79 volume = off
80
81 .include analog-input-mic.conf.common