OpenVoiceOS/buildroot-external/rootfs-overlay/usr/share/alsa/ucm2/Intel/sof-essx8336/sof-essx8336.conf

58 lines
1.1 KiB
Plaintext

Syntax 6
BootSequence [
# Setup muxes / switches
cset "name='Left Headphone Mixer Left DAC Switch' on"
cset "name='Right Headphone Mixer Right DAC Switch' on"
# Set digital mix mux to "dmic disable"
# That doesn't affect dmic, but other values mute headset mic
cset "name='Digital Mic Mux' 0"
# Set HP vol to 0 dB
cset "name='Headphone Playback Volume' 100%"
cset "name='Headphone Mixer Volume' 100%"
# Set DAC vol
cset "name='DAC Playback Volume' 60%"
# LDATA TO LDAC, RDATA TO RDAC
cset "name='DAC Source Mux' 0"
# Disable Auto Level Control
cset "name='ALC Capture Switch' off"
# Set capture vol
cset "name='ADC Capture Volume' 60%"
]
Define.DeviceDmic ""
If.devdmic {
Condition {
Type String
Haystack "${CardComponents}"
Needle "cfg-dmics:"
}
True.Define.DeviceDmic "Mic"
}
SectionUseCase."HiFi" {
File "/Intel/sof-essx8336/HiFi.conf"
Comment "Play and record HiFi quality Music"
}
If.dmic {
Condition {
Type String
Empty "${var:DeviceDmic}"
}
False.If.Dmic0 {
Condition {
Type ControlExists
Control "name='Dmic0 Capture Volume'"
}
True.BootSequence [
cset "name='Dmic0 Capture Volume' 70%"
]
}
}