]> git.alsa-project.org Git - alsa-ucm-conf.git/commit
sof-soundwire: cs42l43: Switch mixer based on output volume
authorMaciej Strozek <mstrozek@opensource.cirrus.com>
Wed, 2 Apr 2025 14:48:35 +0000 (15:48 +0100)
committerJaroslav Kysela <perex@perex.cz>
Fri, 4 Apr 2025 08:19:24 +0000 (10:19 +0200)
commitff1184ae23002be8aa00da6a5b586db50f37dd9d
tree9f6d7f7b7dcbc66862dc6334397638c9c74c71e5
parent0879a855ad0bb0057add405a370545cc5e905df9
sof-soundwire: cs42l43: Switch mixer based on output volume

Hardware volume control in cs42l43 can go up to +31.5dB which can
cause audio degradation. For best results, limit hardware volume to 0dB.

The application may request >0dB mixer volume controls using
'@OutMix>0dB' variable passed to snd_use_case_mgr_open().

Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/540
Link: https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/4622
Signed-off-by: Maciej Strozek <mstrozek@opensource.cirrus.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
ucm2/codecs/cs42l43/init.conf
ucm2/sof-soundwire/cs42l43-spk.conf