]> git.alsa-project.org Git - alsa-lib.git/commit
ucm: allow string with substitution for If.Condition block (Syntax 9)
authorJaroslav Kysela <perex@perex.cz>
Fri, 6 Feb 2026 17:41:30 +0000 (18:41 +0100)
committerJaroslav Kysela <perex@perex.cz>
Fri, 6 Feb 2026 18:32:31 +0000 (19:32 +0100)
commitc41f795f5c35fcf71945f4f1c39889779bff717a
tree1c32a29a866ce96aa302a084aa82f1b03014c4a7
parent30d1ae7221fc4951d15887872650d04c8d7d2d59
ucm: allow string with substitution for If.Condition block (Syntax 9)

When If.Condition is a string type instead of compound, parse it using
snd_config_load_string with variable substitution support for syntax v9+.
This allows more flexible condition definitions using variable references.

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
src/ucm/ucm_cond.c