[PATCH] conf: Remove left justification for SND_CONFIG_TYPE_REAL

Simon Christensson Simon.Christensson at axis.com
Tue Feb 15 11:19:15 CET 2022


In order to avoid extra padding replace data type "%-16g" (left justification) with default right justification "%16g" when printing snd_config type SND_CONFIG_TYPE_REAL.


Example for control "min_dB" available in softvol:

Before patch: "min_dB -50             "

After patch: "min_dB -50.0"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-conf-Remove-left-justify-for-SND_CONFIG_TYPE_REAL.patch
Type: text/x-patch
Size: 941 bytes
Desc: 0001-conf-Remove-left-justify-for-SND_CONFIG_TYPE_REAL.patch
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20220215/e39d8ae6/attachment-0001.bin>


More information about the Alsa-devel mailing list