]> git.alsa-project.org Git - alsa-lib.git/commit
ucm: configuration - allow to define the configuration variables
authorJaroslav Kysela <perex@perex.cz>
Wed, 20 May 2020 17:04:36 +0000 (19:04 +0200)
committerJaroslav Kysela <perex@perex.cz>
Mon, 25 May 2020 17:20:53 +0000 (19:20 +0200)
commited4567d1c932d003fc8d55b9a542599fe380528b
tree701fcff8570c2b0e32966a6de66a6659a39bee4e
parent6cc6024ac51b21a8a18a0b870a06303e308c7272
ucm: configuration - allow to define the configuration variables

It may be useful for the library files to use the runtime configuration
variables.

Example:

 Define.Var1 "hw:${CardId},2"
 Value.PlaybackPCM "${var:Var1}"

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
src/ucm/main.c
src/ucm/parser.c
src/ucm/ucm_local.h
src/ucm/ucm_subs.c
src/ucm/utils.c