pmaports/device/testing/device-samsung-manta/ucm/HiFi.conf
blacksilver 7e6351e086
samsung-manta: charging, firmware, wifi, alsa, framebuffer (MR 2892)
[ci:skip-build] already built successfully in CI
2022-02-09 17:50:39 -08:00

152 lines
4.9 KiB
Text

SectionVerb {
EnableSequence [
]
DisableSequence [
]
Value {
PlaybackPCM "hw:MantaI2S,0"
CapturePCM "hw:MantaI2S,0"
}
}
SectionDevice."Speaker" {
ConflictingDevice [
"Headphones"
]
EnableSequence [
cset "name='DAC1R Mixer AIF1.1 Switch' 1"
cset "name='DAC1L Mixer AIF1.1 Switch' 1"
cset "name='DAC1 Switch' 1"
cset "name='AIF1DAC1 EQ Switch' 1"
cset "name='AIF1DAC1 EQ1 Volume' 3"
cset "name='AIF1DAC1 EQ2 Volume' 8"
cset "name='AIF1DAC1 EQ3 Volume' 16"
cset "name='AIF1DAC1 EQ4 Volume' 10"
cset "name='AIF1DAC1 EQ5 Volume' 11"
cset "name='Speaker Switch' 1"
cset "name='SPKR DAC1 Switch' 1"
cset "name='SPKL DAC1 Switch' 1"
cset "name='Speaker Mixer Volume' 3"
cset "name='Speaker Boost Volume' 5"
cset "name='AIF1DRC1 Mode' Speakers Media"
cset "name='AIF1DAC1 DRC Switch' 1"
cset "name='Speaker Volume' 51"
cset "name='Speaker Volume' 52"
]
DisableSequence [
cset "name='DAC1R Mixer AIF1.1 Switch' 0"
cset "name='DAC1L Mixer AIF1.1 Switch' 0"
cset "name='DAC1 Switch' 0"
cset "name='Speaker Switch' 0"
cset "name='SPKR DAC1 Switch' 0"
cset "name='SPKL DAC1 Switch' 0"
cset "name='Speaker Mixer Volume' 0"
cset "name='AIF1DRC1 Mode' Default"
cset "name='AIF1DAC1 DRC Switch' 0"
]
Value {
PlaybackChannels "2"
}
}
SectionDevice."Headphones" {
ConflictingDevice [
"Speaker"
]
EnableSequence [
cset "name='DAC1R Mixer AIF1.1 Switch' 1"
cset "name='DAC1L Mixer AIF1.1 Switch' 1"
cset "name='DAC1 Switch' 1"
cset "name='AIF1DAC1 EQ Switch' 0"
cset "name='Headphone Switch' 1"
cset "name='Headphone Volume' 24"
]
DisableSequence [
cset "name='DAC1R Mixer AIF1.1 Switch' 0"
cset "name='DAC1L Mixer AIF1.1 Switch' 0"
cset "name='DAC1 Switch' 0"
cset "name='Headphone Switch' 0"
]
Value {
PlaybackChannels "2"
}
}
SectionDevice."Mic" {
Comment "Microphone"
ConflictingDevice [
"Headset"
]
EnableSequence [
cset "name='AIF1ADC1L Mixer ADC/DMIC Switch' 1"
cset "name='AIF1ADC1R Mixer ADC/DMIC Switch' 1"
cset "name='MIXINR IN2R Switch' 1"
cset "name='MIXINR IN2R Volume' 1"
cset "name='IN2R Switch' 1"
cset "name='AIF1ADCL Source' Right"
cset "name='AIF1ADC1L Mixer ADC/DMIC Switch' 1"
cset "name='AIF1ADC1R Mixer ADC/DMIC Switch' 1"
cset "name='MIXINL IN2L Switch' 1"
cset "name='MIXINL IN2L Volume' 1"
cset "name='IN2L Switch' 1"
cset "name='AIF1ADCR Source' Left"
cset "name='IN2R Volume' 16"
cset "name='IN2L Volume' 16"
cset "name='AIF1ADC1 HPF Switch' 1"
cset "name='AIF1ADC1 HPF Mode' HiFi"
]
DisableSequence [
cset "name='AIF1ADC1L Mixer ADC/DMIC Switch' 0"
cset "name='AIF1ADC1R Mixer ADC/DMIC Switch' 0"
cset "name='MIXINR IN2R Switch' 0"
cset "name='IN2R Switch' 0"
cset "name='AIF1ADC1L Mixer ADC/DMIC Switch' 0"
cset "name='AIF1ADC1R Mixer ADC/DMIC Switch' 0"
cset "name='MIXINL IN2L Switch' 0"
cset "name='IN2L Switch' 0"
]
Value {
CaptureChannels "2"
}
}
SectionDevice."Headset" {
ConflictingDevice [
"Mic"
]
EnableSequence [
cset "name='AIF1ADC1L Mixer ADC/DMIC Switch' 1"
cset "name='AIF1ADC1R Mixer ADC/DMIC Switch' 1"
cset "name='MIXINR IN1R Switch' 1"
cset "name='MIXINR IN1R Volume' 1"
cset "name='IN1R Switch' 1"
cset "name='AIF1ADCL Source' Right"
cset "name='IN1R Volume' 16"
cset "name='AIF1ADC1 HPF Mode' HiFi"
]
DisableSequence [
cset "name='AIF1ADC1L Mixer ADC/DMIC Switch' 0"
cset "name='AIF1ADC1R Mixer ADC/DMIC Switch' 0"
cset "name='MIXINR IN1R Switch' 0"
cset "name='IN1R Switch' 0"
]
Value {
CaptureChannels "2"
}
}