Re: [PATCH alsa-ucm-conf 2/2] sof-soundwire: cs42l43: Control hardware volume to avoid clipping

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 28. 03. 25 11:58, Maciej Strozek wrote:
W dniu pią, 28.03.2025 o godzinie 11∶41 +0100, użytkownik Jaroslav
Kysela napisał:
On 28. 03. 25 9:36, Maciej Strozek wrote:
Hardware volume control in cs42l43 can go up to +31.5dB which can
cause audio
degradation. For best results, keep the hardware volume set to 0dB
and let
software volume control the output.

It's something which I dislike (software volume control). If there's
a
hardware limit, it should be added to the driver. Eventually, alsa-
lib plugins
may be extended to do this cropping using a configuration. Also, it
may be a
bug in pulseaudio/pipewire. The +0dB volumes should be handed with a
care.

I agree this is not very elegant to leave it to soft volume, but until
things are resolved elsewhere this is the best way to get best audio
for most users?

I don't see the pipewire upstream report. Please, make an report against pipewire to move discussion there and add the Link: tag to the comment.

If you like to disable something just because the UCM application does not support a feature or misbehaves right now, use a new application variable like @SplitPCM - see [1]. A nice name may be '@OutMix>0dB' or so.

					Jaroslav

[1] https://github.com/alsa-project/alsa-ucm-conf/blob/master/ucm2/common/pcm/split.conf

--
Jaroslav Kysela <perex@xxxxxxxx>
Linux Sound Maintainer; ALSA Project; Red Hat, Inc.



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux