]> git.alsa-project.org Git - alsa-lib.git/commit
ucm: substitute define IDs and macro arguments (Syntax 9)
authorJaroslav Kysela <perex@perex.cz>
Thu, 5 Feb 2026 16:33:07 +0000 (17:33 +0100)
committerJaroslav Kysela <perex@perex.cz>
Thu, 5 Feb 2026 16:35:55 +0000 (17:35 +0100)
commite02e9dc6cfb45337829fc0053ec5e064fd8e7383
treec562c1a1d8d7ab88430d975191eb1ccd2103cede
parent541427761292ac75f2bca2200aacf5aab329729e
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>
src/ucm/parser.c
src/ucm/ucm_local.h