From da1f011ab47641de33ac004af08b78e182971045 Mon Sep 17 00:00:00 2001 From: "Geoffrey D. Bennett" Date: Sun, 9 Feb 2025 03:22:54 +1030 Subject: [PATCH] Gen 1: Ignore control "index" value in saved configurations --- src/alsa-sim.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/alsa-sim.c b/src/alsa-sim.c index dbcdf2c..8903c87 100644 --- a/src/alsa-sim.c +++ b/src/alsa-sim.c @@ -279,6 +279,10 @@ static int alsa_config_to_new_elem( // comment node? } else if (strcmp(key, "comment") == 0) { alsa_parse_comment_node(node, elem); + + // this isn't needed + } else if (strcmp(key, "index") == 0) { + } else { printf("skipping unknown node %s for %d\n", key, id); goto fail;