1c72fcc34Sopenharmony_ci#
2c72fcc34Sopenharmony_ci# Default ALSA volume levels and setting when initialization database fails.
3c72fcc34Sopenharmony_ci#
4c72fcc34Sopenharmony_ci# Basic rules are:
5c72fcc34Sopenharmony_ci#  - keep volumes at minimal level, but sound should be hearable
6c72fcc34Sopenharmony_ci#  - enable standard outputs for playback and main microphone for recording
7c72fcc34Sopenharmony_ci#
8c72fcc34Sopenharmony_ci
9c72fcc34Sopenharmony_ci# **************************************************************************
10c72fcc34Sopenharmony_ci# playback
11c72fcc34Sopenharmony_ci# **************************************************************************
12c72fcc34Sopenharmony_ci
13c72fcc34Sopenharmony_ciENV{ppercent}:="75%"
14c72fcc34Sopenharmony_ciENV{cpercent}:="75%"
15c72fcc34Sopenharmony_ciENV{pvolume}:="-20dB"
16c72fcc34Sopenharmony_ciENV{cvolume}:="12dB"
17c72fcc34Sopenharmony_ciENV{has_pmaster_vol}:="false"
18c72fcc34Sopenharmony_ci
19c72fcc34Sopenharmony_ciCTL{reset}="mixer"
20c72fcc34Sopenharmony_ciCTL{name}="Playback Volume",CTL{do_search}=="1", \
21c72fcc34Sopenharmony_ci  CTL{write}!="$env{pvolume}",CTL{values}="$env{ppercent}"
22c72fcc34Sopenharmony_ciCTL{name}="Playback Switch",CTL{do_search}=="1", \
23c72fcc34Sopenharmony_ci  CTL{values}="on"
24c72fcc34Sopenharmony_ci
25c72fcc34Sopenharmony_ciCTL{reset}="mixer"
26c72fcc34Sopenharmony_ciCTL{name}="Master Playback Volume",CTL{do_search}=="1", \
27c72fcc34Sopenharmony_ci  ENV{has_pmaster_vol}:="true", \
28c72fcc34Sopenharmony_ci  CTL{write}!="$env{pvolume}",CTL{values}="$env{ppercent}"
29c72fcc34Sopenharmony_ciCTL{name}="Master Playback Switch",CTL{do_search}=="1", \
30c72fcc34Sopenharmony_ci  CTL{values}="on"
31c72fcc34Sopenharmony_ci
32c72fcc34Sopenharmony_ciCTL{reset}="mixer"
33c72fcc34Sopenharmony_ciCTL{name}="Master Front Playback Volume",CTL{do_search}=="1", \
34c72fcc34Sopenharmony_ci  ENV{has_pmaster_vol}:="true", \
35c72fcc34Sopenharmony_ci  CTL{write}!="$env{pvolume}",CTL{values}="$env{ppercent}"
36c72fcc34Sopenharmony_ciCTL{name}="Master Front Playback Switch",CTL{do_search}=="1", \
37c72fcc34Sopenharmony_ci  CTL{values}="on"
38c72fcc34Sopenharmony_ci
39c72fcc34Sopenharmony_ciCTL{reset}="mixer"
40c72fcc34Sopenharmony_ciCTL{name}="Master Digital Playback Volume",CTL{do_search}=="1", \
41c72fcc34Sopenharmony_ci  CTL{write}!="$env{pvolume}",CTL{values}="$env{ppercent}"
42c72fcc34Sopenharmony_ciCTL{name}="Master Digital Playback Switch",CTL{do_search}=="1", \
43c72fcc34Sopenharmony_ci  CTL{values}="on"
44c72fcc34Sopenharmony_ci
45c72fcc34Sopenharmony_ciCTL{reset}="mixer"
46c72fcc34Sopenharmony_ciCTL{name}="Line Out Playback Volume",PROGRAM!="__ctl_search",GOTO=""
47c72fcc34Sopenharmony_ci# if master volume control is present, turn line out volume to max
48c72fcc34Sopenharmony_ciENV{has_pmaster_vol}=="true",CTL{write}=="0dB",GOTO=""
49c72fcc34Sopenharmony_ciENV{has_pmaster_vol}=="true",CTL{write}=="100%",GOTO=""
50c72fcc34Sopenharmony_ciCTL{write}!="$env{pvolume}",CTL{values}="$env{ppercent}"
51c72fcc34Sopenharmony_ciLABEL=""
52c72fcc34Sopenharmony_ciCTL{name}="Line Out Playback Switch",CTL{do_search}=="1", \
53c72fcc34Sopenharmony_ci  CTL{values}="on"
54c72fcc34Sopenharmony_ci
55c72fcc34Sopenharmony_ciCTL{reset}="mixer"
56c72fcc34Sopenharmony_ciCTL{name}="Front Playback Volume",PROGRAM!="__ctl_search",GOTO=""
57c72fcc34Sopenharmony_ci# if master volume control is present, turn front volume to max
58c72fcc34Sopenharmony_ciENV{has_pmaster_vol}=="true",CTL{write}=="0dB",GOTO=""
59c72fcc34Sopenharmony_ciENV{has_pmaster_vol}=="true",CTL{write}=="100%",GOTO=""
60c72fcc34Sopenharmony_ciCTL{write}!="$env{pvolume}",CTL{values}="$env{ppercent}"
61c72fcc34Sopenharmony_ciLABEL=""
62c72fcc34Sopenharmony_ciCTL{name}="Front Playback Switch",CTL{do_search}=="1", \
63c72fcc34Sopenharmony_ci  CTL{values}="on"
64c72fcc34Sopenharmony_ci
65c72fcc34Sopenharmony_ciCTL{reset}="mixer"
66c72fcc34Sopenharmony_ciCTL{name}="Surround Playback Volume",PROGRAM!="__ctl_search",GOTO=""
67c72fcc34Sopenharmony_ci# if master volume control is present, turn front volume to max
68c72fcc34Sopenharmony_ciENV{has_pmaster_vol}=="true",CTL{write}=="0dB",GOTO=""
69c72fcc34Sopenharmony_ciENV{has_pmaster_vol}=="true",CTL{write}=="100%",GOTO=""
70c72fcc34Sopenharmony_ciCTL{write}!="$env{pvolume}",CTL{values}="$env{ppercent}"
71c72fcc34Sopenharmony_ciLABEL=""
72c72fcc34Sopenharmony_ciCTL{name}="Surround Playback Switch",CTL{do_search}=="1", \
73c72fcc34Sopenharmony_ci  CTL{values}="on"
74c72fcc34Sopenharmony_ci
75c72fcc34Sopenharmony_ciCTL{reset}="mixer"
76c72fcc34Sopenharmony_ciCTL{name}="Center Playback Volume",PROGRAM!="__ctl_search",GOTO=""
77c72fcc34Sopenharmony_ci# if master volume control is present, turn front volume to max
78c72fcc34Sopenharmony_ciENV{has_pmaster_vol}=="true",CTL{write}=="0dB",GOTO=""
79c72fcc34Sopenharmony_ciENV{has_pmaster_vol}=="true",CTL{write}=="100%",GOTO=""
80c72fcc34Sopenharmony_ciCTL{write}!="$env{pvolume}",CTL{values}="$env{ppercent}"
81c72fcc34Sopenharmony_ciLABEL=""
82c72fcc34Sopenharmony_ciCTL{name}="Center Playback Switch",CTL{do_search}=="1", \
83c72fcc34Sopenharmony_ci  CTL{values}="on"
84c72fcc34Sopenharmony_ci
85c72fcc34Sopenharmony_ciCTL{reset}="mixer"
86c72fcc34Sopenharmony_ciCTL{name}="LFE Playback Volume",PROGRAM!="__ctl_search",GOTO=""
87c72fcc34Sopenharmony_ci# if master volume control is present, turn front volume to max
88c72fcc34Sopenharmony_ciENV{has_pmaster_vol}=="true",CTL{write}=="0dB",GOTO=""
89c72fcc34Sopenharmony_ciENV{has_pmaster_vol}=="true",CTL{write}=="100%",GOTO=""
90c72fcc34Sopenharmony_ciCTL{write}!="$env{pvolume}",CTL{values}="$env{ppercent}"
91c72fcc34Sopenharmony_ciLABEL=""
92c72fcc34Sopenharmony_ciCTL{name}="LFE Playback Switch",CTL{do_search}=="1", \
93c72fcc34Sopenharmony_ci  CTL{values}="on"
94c72fcc34Sopenharmony_ci
95c72fcc34Sopenharmony_ciCTL{reset}="mixer"
96c72fcc34Sopenharmony_ciCTL{name}="Headphone Playback Volume",PROGRAM!="__ctl_search",GOTO=""
97c72fcc34Sopenharmony_ci# if master volume control is present, turn headphone volume to max
98c72fcc34Sopenharmony_ciENV{has_pmaster_vol}=="true",CTL{write}=="0dB",GOTO=""
99c72fcc34Sopenharmony_ciENV{has_pmaster_vol}=="true",CTL{write}=="100%",GOTO=""
100c72fcc34Sopenharmony_ciCTL{write}!="$env{pvolume}",CTL{values}="$env{ppercent}"
101c72fcc34Sopenharmony_ciLABEL=""
102c72fcc34Sopenharmony_ciCTL{name}="Headphone Playback Switch",CTL{do_search}=="1", \
103c72fcc34Sopenharmony_ci  CTL{values}="on"
104c72fcc34Sopenharmony_ci
105c72fcc34Sopenharmony_ciCTL{reset}="mixer"
106c72fcc34Sopenharmony_ciCTL{name}="Headphone Playback Volume",CTL{index}="1",PROGRAM!="__ctl_search",\
107c72fcc34Sopenharmony_ci  GOTO=""
108c72fcc34Sopenharmony_ci# if master volume control is present, turn headphone volume to max
109c72fcc34Sopenharmony_ciENV{has_pmaster_vol}=="true",CTL{write}=="0dB",GOTO=""
110c72fcc34Sopenharmony_ciENV{has_pmaster_vol}=="true",CTL{write}=="100%",GOTO=""
111c72fcc34Sopenharmony_ciCTL{write}!="$env{pvolume}",CTL{values}="$env{ppercent}"
112c72fcc34Sopenharmony_ciLABEL=""
113c72fcc34Sopenharmony_ciCTL{name}="Headphone Playback Switch",CTL{index}="1",CTL{do_search}=="1", \
114c72fcc34Sopenharmony_ci  CTL{values}="on"
115c72fcc34Sopenharmony_ci
116c72fcc34Sopenharmony_ciCTL{reset}="mixer"
117c72fcc34Sopenharmony_ciCTL{name}="Speaker Playback Volume",PROGRAM!="__ctl_search",GOTO=""
118c72fcc34Sopenharmony_ci# if master volume control is present, turn speaker volume to max
119c72fcc34Sopenharmony_ciENV{has_pmaster_vol}=="true",CTL{write}=="0dB",GOTO=""
120c72fcc34Sopenharmony_ciENV{has_pmaster_vol}=="true",CTL{write}=="100%",GOTO=""
121c72fcc34Sopenharmony_ciCTL{write}!="$env{pvolume}",CTL{values}="$env{ppercent}"
122c72fcc34Sopenharmony_ciLABEL=""
123c72fcc34Sopenharmony_ciCTL{name}="Speaker Playback Switch",CTL{do_search}=="1", \
124c72fcc34Sopenharmony_ci  CTL{values}="on"
125c72fcc34Sopenharmony_ci
126c72fcc34Sopenharmony_ciCTL{reset}="mixer"
127c72fcc34Sopenharmony_ciCTL{name}="Front Speaker Playback Volume",PROGRAM!="__ctl_search",GOTO=""
128c72fcc34Sopenharmony_ci# if master volume control is present, turn speaker volume to max
129c72fcc34Sopenharmony_ciENV{has_pmaster_vol}=="true",CTL{write}=="0dB",GOTO=""
130c72fcc34Sopenharmony_ciENV{has_pmaster_vol}=="true",CTL{write}=="100%",GOTO=""
131c72fcc34Sopenharmony_ciCTL{write}!="$env{pvolume}",CTL{values}="$env{ppercent}"
132c72fcc34Sopenharmony_ciLABEL=""
133c72fcc34Sopenharmony_ciCTL{name}="Front Speaker Playback Switch",CTL{do_search}=="1", \
134c72fcc34Sopenharmony_ci  CTL{values}="on"
135c72fcc34Sopenharmony_ci
136c72fcc34Sopenharmony_ciCTL{reset}="mixer"
137c72fcc34Sopenharmony_ciCTL{name}="Surround Speaker Playback Volume",PROGRAM!="__ctl_search",GOTO=""
138c72fcc34Sopenharmony_ci# if master volume control is present, turn speaker volume to max
139c72fcc34Sopenharmony_ciENV{has_pmaster_vol}=="true",CTL{write}=="0dB",GOTO=""
140c72fcc34Sopenharmony_ciENV{has_pmaster_vol}=="true",CTL{write}=="100%",GOTO=""
141c72fcc34Sopenharmony_ciCTL{write}!="$env{pvolume}",CTL{values}="$env{ppercent}"
142c72fcc34Sopenharmony_ciLABEL=""
143c72fcc34Sopenharmony_ciCTL{name}="Surround Speaker Playback Switch",CTL{do_search}=="1", \
144c72fcc34Sopenharmony_ci  CTL{values}="on"
145c72fcc34Sopenharmony_ci
146c72fcc34Sopenharmony_ciCTL{reset}="mixer"
147c72fcc34Sopenharmony_ciCTL{name}="Center Speaker Playback Volume",PROGRAM!="__ctl_search",GOTO=""
148c72fcc34Sopenharmony_ci# if master volume control is present, turn speaker volume to max
149c72fcc34Sopenharmony_ciENV{has_pmaster_vol}=="true",CTL{write}=="0dB",GOTO=""
150c72fcc34Sopenharmony_ciENV{has_pmaster_vol}=="true",CTL{write}=="100%",GOTO=""
151c72fcc34Sopenharmony_ciCTL{write}!="$env{pvolume}",CTL{values}="$env{ppercent}"
152c72fcc34Sopenharmony_ciLABEL=""
153c72fcc34Sopenharmony_ciCTL{name}="Center Speaker Playback Switch",CTL{do_search}=="1", \
154c72fcc34Sopenharmony_ci  CTL{values}="on"
155c72fcc34Sopenharmony_ci
156c72fcc34Sopenharmony_ciCTL{reset}="mixer"
157c72fcc34Sopenharmony_ciCTL{name}="LFE Speaker Playback Volume",PROGRAM!="__ctl_search",GOTO=""
158c72fcc34Sopenharmony_ci# if master volume control is present, turn speaker volume to max
159c72fcc34Sopenharmony_ciENV{has_pmaster_vol}=="true",CTL{write}=="0dB",GOTO=""
160c72fcc34Sopenharmony_ciENV{has_pmaster_vol}=="true",CTL{write}=="100%",GOTO=""
161c72fcc34Sopenharmony_ciCTL{write}!="$env{pvolume}",CTL{values}="$env{ppercent}"
162c72fcc34Sopenharmony_ciLABEL=""
163c72fcc34Sopenharmony_ciCTL{name}="LFE Speaker Playback Switch",CTL{do_search}=="1", \
164c72fcc34Sopenharmony_ci  CTL{values}="on"
165c72fcc34Sopenharmony_ci
166c72fcc34Sopenharmony_ciCTL{reset}="mixer"
167c72fcc34Sopenharmony_ciCTL{name}="PC Speaker Playback Volume",CTL{do_search}=="1", \
168c72fcc34Sopenharmony_ci  CTL{values}="$env{pvolume}",RESULT!="0",CTL{values}="$env{ppercent}"
169c72fcc34Sopenharmony_ciCTL{name}="PC Speaker Playback Switch",CTL{do_search}=="1", \
170c72fcc34Sopenharmony_ci  CTL{values}="on"
171c72fcc34Sopenharmony_ci
172c72fcc34Sopenharmony_ciCTL{reset}="mixer"
173c72fcc34Sopenharmony_ciCTL{name}="PCM Playback Volume",PROGRAM!="__ctl_search", \
174c72fcc34Sopenharmony_ci CTL{name}="PCM Volume",PROGRAM!="__ctl_search", GOTO=""
175c72fcc34Sopenharmony_ci# if master volume control is present, turn PCM volume to max
176c72fcc34Sopenharmony_ciENV{has_pmaster_vol}=="true",CTL{write}=="0dB",GOTO=""
177c72fcc34Sopenharmony_ciENV{has_pmaster_vol}=="true",CTL{write}=="100%",GOTO=""
178c72fcc34Sopenharmony_ci# exception - some HDA codecs have shifted dB range
179c72fcc34Sopenharmony_ciCTL{dBmin}=="-34.50dB",CTL{dBmax}=="12.00dB",CTL{write}=="0dB",GOTO=""
180c72fcc34Sopenharmony_ciCTL{dBmin}=="-30.00dB",CTL{dBmax}=="0dB",CTL{write}=="0dB",GOTO=""
181c72fcc34Sopenharmony_ciCTL{write}!="$env{pvolume}",CTL{values}="75%"
182c72fcc34Sopenharmony_ciLABEL=""
183c72fcc34Sopenharmony_ciCTL{name}="PCM Playback Switch",CTL{do_search}=="1", CTL{values}="on"
184c72fcc34Sopenharmony_ciCTL{name}="PCM Switch",CTL{do_search}=="1",CTL{values}="on"
185c72fcc34Sopenharmony_ci
186c72fcc34Sopenharmony_ciCTL{reset}="mixer"
187c72fcc34Sopenharmony_ciCTL{name}="PCM Playback Volume",CTL{index}="1",PROGRAM!="__ctl_search", \
188c72fcc34Sopenharmony_ci  CTL{name}="PCM Volume",PROGRAM!="__ctl_search",GOTO=""
189c72fcc34Sopenharmony_ci# if master volume control is present, turn PCM volume to max
190c72fcc34Sopenharmony_ciENV{has_pmaster_vol}=="true",CTL{write}=="0dB",GOTO=""
191c72fcc34Sopenharmony_ciENV{has_pmaster_vol}=="true",CTL{write}=="100%",GOTO=""
192c72fcc34Sopenharmony_ci# exception - some HDA codecs have shifted dB range
193c72fcc34Sopenharmony_ciCTL{dBmin}=="-34.50dB",CTL{dBmax}=="12.00dB",CTL{write}=="0dB",GOTO=""
194c72fcc34Sopenharmony_ciCTL{dBmin}=="-30.00dB",CTL{dBmax}=="0dB",CTL{write}=="0dB",GOTO=""
195c72fcc34Sopenharmony_ciCTL{write}!="$env{pvolume}",CTL{values}="75%"
196c72fcc34Sopenharmony_ciLABEL=""
197c72fcc34Sopenharmony_ciCTL{name}="PCM Playback Switch",CTL{index}="1",CTL{do_search}=="1", \
198c72fcc34Sopenharmony_ci  CTL{values}="on"
199c72fcc34Sopenharmony_ciCTL{name}="PCM Switch",CTL{index}="1",CTL{do_search}=="1", \
200c72fcc34Sopenharmony_ci  CTL{values}="on"
201c72fcc34Sopenharmony_ci
202c72fcc34Sopenharmony_ciCTL{reset}="mixer"
203c72fcc34Sopenharmony_ciCTL{name}="DAC Playback Volume",CTL{do_search}=="1", \
204c72fcc34Sopenharmony_ci  CTL{values}="$env{pvolume}",RESULT!="0",CTL{values}="$env{ppercent}"
205c72fcc34Sopenharmony_ciCTL{name}="DAC Playback Switch",CTL{do_search}=="1", \
206c72fcc34Sopenharmony_ci  CTL{values}="on"
207c72fcc34Sopenharmony_ci
208c72fcc34Sopenharmony_ciCTL{reset}="mixer"
209c72fcc34Sopenharmony_ciCTL{name}="Synth Playback Volume",CTL{do_search}=="1", \
210c72fcc34Sopenharmony_ci  CTL{values}="$env{pvolume}",RESULT!="0",CTL{values}="$env{ppercent}"
211c72fcc34Sopenharmony_ciCTL{name}="Synth Playback Switch",CTL{do_search}=="1", \
212c72fcc34Sopenharmony_ci  CTL{values}="on"
213c72fcc34Sopenharmony_ci
214c72fcc34Sopenharmony_ciCTL{reset}="mixer"
215c72fcc34Sopenharmony_ciCTL{name}="Wave Playback Volume",CTL{do_search}=="1", \
216c72fcc34Sopenharmony_ci  CTL{values}="100%"
217c72fcc34Sopenharmony_ciCTL{name}="Wave Playback Switch",CTL{do_search}=="1", \
218c72fcc34Sopenharmony_ci  CTL{values}="on"
219c72fcc34Sopenharmony_ci
220c72fcc34Sopenharmony_ciCTL{reset}="mixer"
221c72fcc34Sopenharmony_ciCTL{name}="Music Playback Volume",CTL{do_search}=="1", \
222c72fcc34Sopenharmony_ci  CTL{values}="100%"
223c72fcc34Sopenharmony_ciCTL{name}="Music Playback Switch",CTL{do_search}=="1", \
224c72fcc34Sopenharmony_ci  CTL{values}="on"
225c72fcc34Sopenharmony_ci
226c72fcc34Sopenharmony_ciCTL{reset}="mixer"
227c72fcc34Sopenharmony_ciCTL{name}="CD Playback Volume",CTL{do_search}=="1", \
228c72fcc34Sopenharmony_ci  CTL{values}="0%"
229c72fcc34Sopenharmony_ciCTL{name}="CD Playback Switch",CTL{do_search}=="1", \
230c72fcc34Sopenharmony_ci  CTL{values}="off"
231c72fcc34Sopenharmony_ci
232c72fcc34Sopenharmony_ciCTL{reset}="mixer"
233c72fcc34Sopenharmony_ciCTL{name}="Mono Playback Volume",CTL{do_search}=="1", \
234c72fcc34Sopenharmony_ci  CTL{values}="$env{pvolume}",RESULT!="0",CTL{values}="$env{ppercent}"
235c72fcc34Sopenharmony_ciCTL{name}="Mono Playback Switch",CTL{do_search}=="1", \
236c72fcc34Sopenharmony_ci  CTL{values}="on"
237c72fcc34Sopenharmony_ci
238c72fcc34Sopenharmony_ciCTL{reset}="mixer"
239c72fcc34Sopenharmony_ciCTL{name}="Master Mono Playback Volume",CTL{do_search}=="1", \
240c72fcc34Sopenharmony_ci  CTL{values}="$env{pvolume}",RESULT!="0",CTL{values}="$env{ppercent}"
241c72fcc34Sopenharmony_ciCTL{name}="Master Mono Playback Switch",CTL{do_search}=="1", \
242c72fcc34Sopenharmony_ci  CTL{values}="on"
243c72fcc34Sopenharmony_ci
244c72fcc34Sopenharmony_ciCTL{reset}="mixer"
245c72fcc34Sopenharmony_ciCTL{name}="AC97 Playback Volume",CTL{do_search}=="1", \
246c72fcc34Sopenharmony_ci  CTL{values}="100%"
247c72fcc34Sopenharmony_ciCTL{name}="AC97 Playback Switch",CTL{do_search}=="1", \
248c72fcc34Sopenharmony_ci  CTL{values}="on"
249c72fcc34Sopenharmony_ci
250c72fcc34Sopenharmony_ci#
251c72fcc34Sopenharmony_ci# Powermacs
252c72fcc34Sopenharmony_ci#
253c72fcc34Sopenharmony_ci
254c72fcc34Sopenharmony_ciCTL{reset}="mixer"
255c72fcc34Sopenharmony_ciCTL{name}="DRC Range",CTL{do_search}=="1", \
256c72fcc34Sopenharmony_ci  CTL{write}!="$env{pvolume}",CTL{values}="$env{ppercent}"
257c72fcc34Sopenharmony_ci
258c72fcc34Sopenharmony_ci# **************************************************************************
259c72fcc34Sopenharmony_ci# capture
260c72fcc34Sopenharmony_ci# **************************************************************************
261c72fcc34Sopenharmony_ci
262c72fcc34Sopenharmony_ciCTL{reset}="mixer"
263c72fcc34Sopenharmony_ciCTL{name}="Capture Volume",CTL{do_search}=="1", \
264c72fcc34Sopenharmony_ci  CTL{write}!="$env{cvolume}",CTL{values}="$env{cpercent}"
265c72fcc34Sopenharmony_ciCTL{name}="Capture Switch",CTL{do_search}=="1", \
266c72fcc34Sopenharmony_ci  CTL{values}="on"
267c72fcc34Sopenharmony_ci
268c72fcc34Sopenharmony_ciCTL{name}="Capture Source",PROGRAM!="__ctl_search", GOTO=""
269c72fcc34Sopenharmony_ciCTL{enums}=="*|Internal Mic|*",CTL{values}="Internal Mic", GOTO=""
270c72fcc34Sopenharmony_ciCTL{enums}=="*|Mic|*",CTL{values}="Mic"
271c72fcc34Sopenharmony_ciLABEL=""
272c72fcc34Sopenharmony_ci
273c72fcc34Sopenharmony_ciCTL{name}="Input Source",PROGRAM!="__ctl_search", GOTO=""
274c72fcc34Sopenharmony_ciCTL{enums}=="*|Internal Mic|*",CTL{values}="Internal Mic", GOTO=""
275c72fcc34Sopenharmony_ciCTL{enums}=="*|Mic|*",CTL{values}="Mic"
276c72fcc34Sopenharmony_ciLABEL=""
277c72fcc34Sopenharmony_ci
278c72fcc34Sopenharmony_ciCTL{name}="Digital Input Source",PROGRAM!="__ctl_search", GOTO=""
279c72fcc34Sopenharmony_ciCTL{enums}=="*|Digital Mic 1|*",CTL{values}="Digital Mic 1", GOTO=""
280c72fcc34Sopenharmony_ciCTL{enums}=="*|Mic|*",CTL{values}="Mic"
281c72fcc34Sopenharmony_ciLABEL=""
282c72fcc34Sopenharmony_ci
283c72fcc34Sopenharmony_ciCTL{name}="Mic Boost",CTL{do_search}=="1", CTL{values}="on"
284c72fcc34Sopenharmony_ciCTL{name}="Internal Mic Boost",CTL{do_search}=="1", CTL{values}="on"
285