-
Notifications
You must be signed in to change notification settings - Fork 177
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- for new macro argument substitution - for new Path condition fields substitutions Link: alsa-project/alsa-ucm-conf#411 Link: #395 Signed-off-by: Jaroslav Kysela <[email protected]>
- Loading branch information
Showing
4 changed files
with
41 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -63,7 +63,7 @@ use case verbs for that sound card. i.e.: | |
# Example master file for blah sound card | ||
# By Joe Blogs <[email protected]> | ||
Syntax 6 | ||
Syntax 7 | ||
# Use Case name for user interface | ||
Comment "Nice Abstracted Soundcard" | ||
|
@@ -489,7 +489,8 @@ DefineMacro.macro1 { | |
The arguments in the macro are refered as the variables with the double | ||
underscore name prefix (like *__variable*). The configuration block in | ||
the DefineMacro subtree is always evaluated (including arguments and variables) | ||
at the time of the instantiation. | ||
at the time of the instantiation. Argument string substitutions | ||
(for multiple macro call levels) were added in *Syntax* version *7*. | ||
The macros can be instantiated (expanded) using: | ||
|
@@ -563,6 +564,15 @@ Field | Description | |
String | string | ||
Regex | regex expression (extended posix, ignore case) | ||
#### Path is present (Type Path) | ||
Field | Description | ||
---------------------|----------------------- | ||
Path | path (filename) | ||
Mode | exist,read,write,exec | ||
Note: Substitution for Path and Mode fields were added in *Syntax* version *7*. | ||
#### ALSA control element exists (Type ControlExists) | ||
Field | Description | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters