]> git.alsa-project.org Git - alsa-lib.git/commit
ucm: allow to ignore errors for the value substitution
authorJaroslav Kysela <perex@perex.cz>
Thu, 18 Jun 2020 13:09:23 +0000 (15:09 +0200)
committerJaroslav Kysela <perex@perex.cz>
Thu, 18 Jun 2020 14:06:12 +0000 (16:06 +0200)
commite6be54422709b3d18828a000c86b4b09d7511f84
tree27261b3244c6f6f0056e82ffd41dc87083784c52
parent20e003a63d14edabd59e40e5d0b8ed2f11f8c9b8
ucm: allow to ignore errors for the value substitution

It may be useful to ignore the errors where the environment
or sysfs values are not defined for the specific hardware.

Enhance substitution for 'syntax 3' so $${} substitution
means ignore the errors (return an empty string).

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