]> git.alsa-project.org Git - alsa-utils.git/commit
alsactl: state - use snd_config_get_llong() in config_integer/config_integer64
authorJaroslav Kysela <perex@perex.cz>
Fri, 31 Jul 2026 11:00:44 +0000 (13:00 +0200)
committerJaroslav Kysela <perex@perex.cz>
Fri, 31 Jul 2026 11:06:45 +0000 (13:06 +0200)
commit85db8a95f7f4c5bdb353033d50d5e4c14011dd11
treeb894b0fb0554fa724d92d3a15fa4b3ae50cce761
parent9feb22ba45b48729729c8d194aaf1bc082a6842a
alsactl: state - use snd_config_get_llong() in config_integer/config_integer64

The alsa-lib's configuration parser stores 32-bit integer values to
INTEGER type. Change integer parsers in state.c to accept both INTEGER
and INTEGER64 types and also strings (converted to integer) using
new snd_config_get_llong() function.

Buglink: https://lore.kernel.org/alsa-devel/DSSPR12MB999212CD0AF414E51769382046CAF82@DSSPR12MB999212.namprd12.prod.outlook.com/
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
alsactl/state.c