]> git.alsa-project.org Git - alsa-lib.git/commit
ucm: allow to use the defined variables in the substitution argument
authorJaroslav Kysela <perex@perex.cz>
Thu, 18 Jun 2020 13:53:19 +0000 (15:53 +0200)
committerJaroslav Kysela <perex@perex.cz>
Thu, 18 Jun 2020 14:10:37 +0000 (16:10 +0200)
commitf0276cc0bd5de2c43ae7c1e28ba0124c9881a51e
tree1c4a2d33649ba57409bc2f5c86f3cff9da5aa9d7
parente6be54422709b3d18828a000c86b4b09d7511f84
ucm: allow to use the defined variables in the substitution argument

Example (set variable 'Module' to the kernel module name for the given card):

  Define.SysfsPath "class/sound/card${CardNumber}/device/driver"
  Define.Module "${sys:$SysfsPath}"

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