From: Srinivas Kandagatla Date: Tue, 18 Jul 2023 11:51:06 +0000 (+0100) Subject: ucm2: codecs: wsa883x: add Speakers Volume in init conf X-Git-Tag: v1.2.11~62 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=489b9a1406b640d6eeb44b1a78e5750ec6d691ec;p=alsa-ucm-conf.git ucm2: codecs: wsa883x: add Speakers Volume in init conf Add combined analog volume controls for Speakers in the init conf Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/335 Signed-off-by: Srinivas Kandagatla Reviewed-by: Johan Hovold Tested-by: Johan Hovold Signed-off-by: Jaroslav Kysela --- diff --git a/ucm2/codecs/wsa883x/init.conf b/ucm2/codecs/wsa883x/init.conf new file mode 100644 index 0000000..75a8fa4 --- /dev/null +++ b/ucm2/codecs/wsa883x/init.conf @@ -0,0 +1,18 @@ +# WSA883x specific volume control settings + +BootSequence [ + cset "name='WSA_RX0 Digital Volume' 84" + cset "name='WSA_RX1 Digital Volume' 84" +] + +LibraryConfig.remap.Config { + + ctl.default.map { + # Merge two mono controls into one stereo + "name='Speakers Volume'" { + "name='SpkrLeft PA Volume'".vindex.0 0 + "name='SpkrRight PA Volume'".vindex.1 0 + } + } +} +