OSDN Git Service

codecs/es8316: Fix capture settings
[android-x86/external-alsa-ucm-conf.git] / ucm2 / codecs / es8316 / EnableSeq.conf
1 EnableSequence [
2         # Disable all inputs / outputs
3         cset "name='Speaker Switch' off"
4         cset "name='Headphone Switch' off"
5         cset "name='Headset Mic Switch' off"
6         cset "name='Internal Mic Switch' off"
7
8         # Set HP vol to 0 dB (3/3)
9         cset "name='Headphone Playback Volume' 3"
10         # Set HP mixer vol to -6 dB (4/7) louder does not work
11         cset "name='Headphone Mixer Volume' 4"
12         # Set DAC vol to 0 dB (192/192)
13         cset "name='DAC Playback Volume' 192"
14
15         # Disable Auto Level Control
16         cset "name='ALC Capture Switch' off"
17         # Set ADC vol to 0 dB (192/192)
18         cset "name='ADC Capture Volume' 192"
19         # Set Mic amplifier to +16 dB
20         cset "name='ADC PGA Gain Volume' 7"
21
22         # Setup muxes / switches
23         cset "name='Left Headphone Mixer Left DAC Switch' on"
24         cset "name='Right Headphone Mixer Right DAC Switch' on"
25 ]