mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-31 22:25:35 -04:00
ucm: add ${evali:} substitution
Example:
Define.var1 2
LibraryConfig.test.SubstiConfig {
a "${evali:$var1+1}"
}
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
f1fa7ea077
commit
d65b1c7b52
3 changed files with 45 additions and 1 deletions
|
|
@ -383,6 +383,12 @@ ${eval:<str>} | Evaluate expression like *($var+2)/3* [**Syntax 5**]
|
|||
${find-card:<str>} | Find a card - see _Find card substitution_ section
|
||||
${find-device:<str>} | Find a device - see _Find device substitution_ section
|
||||
|
||||
#### Special whole string substitution
|
||||
|
||||
Substituted string | Value
|
||||
---------------------|---------------------
|
||||
${evali:<str>} | Evaluate expression like *($var+2)/3* [**Syntax 5**]; target node will be integer; substituted only in the LibraryConfig subtree
|
||||
|
||||
#### Find card substitution
|
||||
|
||||
This substitutions finds the ALSA card and returns the appropriate identifier or
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue