ucm: substitute define IDs and macro arguments (Syntax 9)

It is useful to substitute the variable names and string
macro arguments. It may simplify the UCM configurations.

E.g.:

  Define."${var:Name} Suffix" "Value"
  Macro.a.DoIt "Channels=${var:PlaybackChannels}"

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
Jaroslav Kysela 2026-02-05 17:33:07 +01:00
parent 5414277612
commit e02e9dc6cf
2 changed files with 22 additions and 4 deletions

View file

@ -35,7 +35,7 @@
#include <stdbool.h>
#include "use-case.h"
#define SYNTAX_VERSION_MAX 8
#define SYNTAX_VERSION_MAX 9
#define MAX_CARD_SHORT_NAME 32
#define MAX_CARD_LONG_NAME 80