pmaports/device/testing/device-samsung-j7y17lte/usr-share-alsa-ucm2-conf.d-Universal7870-I-VoiceCall.conf
Eray Tutmaz 93f68f6253
samsung-j7y17lte: new device (MR 4502)
[ci:skip-build]: Already built successfully in CI.
2024-02-15 02:19:03 -08:00

91 lines
2 KiB
Text

SectionVerb {
EnableSequence [
cset 'name="AudioMixer SRC2 En" 1'
cset 'name="AudioMixer CH2 Mixer En" 1'
cset 'name="AudioMixer CH1 DOUT Select" 2'
cset 'name="AudioMixer CH2 DOUT Select" 1'
cset 'name="AudioMixer CH1 I2S Data Length" 0'
cset 'name="AudioMixer CH1 XFS" 1'
cset 'name="AudioMixer CH2 I2S Data Length" 0'
cset 'name="AudioMixer CH2 XFS" 0'
cset 'name="SPK SPK On" 0'
cset 'name="EP EP On" 1'
cset 'name="EP Mixer DACL Switch" 1'
cset 'name="EP Mixer DACR Switch" 1'
cset "name='MIC1 MIC1 On' 1"
cset "name='ADCR Mixer MIC1R Switch' 1"
cset "name='ADCL Mixer MIC1L Switch' 1"
]
DisableSequence [
cset 'name="EP Mixer DACR Switch" 0'
cset 'name="EP Mixer DACL Switch" 0'
cset 'name="EP EP On" 0'
cset 'name="SPK SPK On" 1'
cset 'name="AudioMixer CH2 DOUT Select" 0'
cset 'name="AudioMixer CH1 DOUT Select" 1'
cset 'name="AudioMixer CH2 Mixer En" 0'
cset 'name="AudioMixer SRC2 En" 0'
cset "name='MIC1 MIC1 On' 0"
cset "name='ADCR Mixer MIC1R Switch' 0"
cset "name='ADCL Mixer MIC1L Switch' 0"
]
}
SectionDevice."Speaker" {
Comment "Internal speaker"
EnableSequence [
cset 'name="SPK SPK On" 1'
]
DisableSequence [
cset 'name="SPK SPK On" 0'
]
Value {
PlaybackPriority 100
PlaybackPCM "hw:${CardId}"
}
}
SectionDevice."Mic" {
Comment "Internal microphone"
EnableSequence [
cset "name='MIC1 MIC1 On' 1"
cset "name='ADCR Mixer MIC1R Switch' 1"
cset "name='ADCL Mixer MIC1L Switch' 1"
]
DisableSequence [
cset "name='MIC1 MIC1 On' 0"
cset "name='ADCR Mixer MIC1R Switch' 0"
cset "name='ADCL Mixer MIC1L Switch' 0"
]
Value {
CapturePriority 100
CapturePCM "hw:${CardId}"
}
}
SectionDevice."Earpiece" {
Comment "Earpiece"
EnableSequence [
cset 'name="EP EP On" 1'
cset 'name="EP Mixer DACL Switch" 1'
cset 'name="EP Mixer DACR Switch" 1'
]
DisableSequence [
cset 'name="EP Mixer DACR Switch" 0'
cset 'name="EP Mixer DACL Switch" 0'
cset 'name="EP EP On" 0'
]
Value {
PlaybackPriority 101
PlaybackPCM "hw:${CardId}"
}
}