Set better priorities on input paths
[profile/ivi/pulseaudio.git] / 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 [Element 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 Mic Boost:on]
33 name = input-boost-on
34
35 [Option Mic Boost:off]
36 name = input-boost-off
37
38 [Element 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:Mic]
55 name = analog-input-microphone
56 required-any = any
57
58 [Element Capture Source]
59 enumeration = select
60
61 [Option Capture Source:Mic]
62 name = analog-input-microphone
63 required-any = any
64
65 ;;; Some AC'97s have "Mic Select" and "Mic Boost (+20dB)"
66
67 [Element Mic Select]
68 enumeration = select
69
70 [Option Mic Select:Mic1]
71 name = input-microphone
72 priority = 20
73
74 [Option Mic Select:Mic2]
75 name = input-microphone
76 priority = 19
77
78 [Element Mic Boost (+20dB)]
79 switch = select
80 volume = merge
81
82 [Option Mic Boost (+20dB):on]
83 name = input-boost-on
84
85 [Option Mic Boost (+20dB):off]
86 name = input-boost-off
87
88 [Element Front Mic]
89 switch = off
90 volume = off
91
92 [Element Internal Mic]
93 switch = off
94 volume = off
95
96 [Element Rear Mic]
97 switch = off
98 volume = off
99
100 [Element Dock Mic]
101 switch = off
102 volume = off
103
104 .include analog-input-mic.conf.common