pmaports/device/testing/device-samsung-a6lte/usr-share-alsa-ucm2-conf.d-Universal7870-I-VoiceCall.conf
Sergey Lisov b7c3d41b9a
samsung-a6lte: cellular support via samsungipcd (MR 3585)
[ci:skip-build]: already built successfully in CI
2023-01-19 07:53:31 +01:00

81 lines
1.6 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="AMP Enable Switch" 0'
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'
cset 'name="AMP Enable Switch" 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'
]
}
SectionDevice."Speaker" {
Comment "Internal speaker"
EnableSequence [
cset 'name="AMP Enable Switch" 1'
]
DisableSequence [
cset 'name="AMP Enable Switch" 0'
]
Value {
PlaybackPriority 100
PlaybackPCM "hw:${CardId}"
}
}
SectionDevice."Mic" {
Comment "Internal microphone"
EnableSequence [
cset "name='MIC1 MIC1 On' 1"
]
DisableSequence [
cset "name='MIC1 MIC1 On' 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}"
}
}