[PATCH] ALSA: conf: Save SND_CONFIG_TYPE_REAL with at least one decimal
Hi, patch for saving SND_CONFIG_TYPE_REAL with at least one decimal as to not misinterpret the value as an integer in snd_config_get_real. Example would be the sofvol configuration property min_dB and max_dB, that are required to have at least one decimal.
All the best
// Simon
On 13. 12. 22 8:55, Simon Svanbom wrote:
Hi, patch for saving SND_CONFIG_TYPE_REAL with at least one decimal as to not misinterpret the value as an integer in snd_config_get_real. Example would be the sofvol configuration property min_dB and max_dB, that are required to have at least one decimal.
Thanks. I pushed this fix to repo using the snd_config_get_ireal() function in the configuration parsing code:
https://github.com/alsa-project/alsa-lib/commit/9f2c68cef716aa45942b502a42d9...
Jaroslav
participants (2)
-
Jaroslav Kysela
-
Simon Svanbom