Add support for volatile buttons to widget-boolean.c

Will be used by Gen 1 support.
This commit is contained in:
Geoffrey D. Bennett
2024-03-31 03:22:38 +10:30
parent db0929bd08
commit 111ec1154d
4 changed files with 35 additions and 3 deletions

View File

@@ -133,7 +133,7 @@ static void alsa_parse_comment_node(
if (err < 0)
fatal_alsa_error("snd_config_get_string error", err);
if (strstr(access, "write"))
elem->writable = 1;
elem->is_writable = 1;
} else if (strcmp(key, "type") == 0) {
if (type != SND_CONFIG_TYPE_STRING) {
printf("type type not string\n");