alsa-lib/src/ucm
Jaroslav Kysela a0b00a954e ucm: add possibility to keep order of childs for If blocks
Because of the nature of the structured parser, it is not guaranteed
that the order of the parsed tree is equal to the lines in the source.

Add possibility to insert the If results before or after the selected
identifier like:

SectionDevice."Speaker" {
  ...
}

If.1 {
	Condition { ... }
	Before.SectionDevice "Speaker"
	True { ... }
}
If.2 {
	Condition { ... }
	After.SectionDevice "Speaker"
	True { ... }
}

If the "After" or "Before" identifiers are not found, the result is added
after the last entry in the block.

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2019-11-14 17:21:20 +01:00
..
main.c ucm: add snd_use_case_parse_selem_id() 2019-11-14 15:00:40 +01:00
Makefile.am ucm: add If condition block 2019-11-14 15:00:37 +01:00
parser.c ucm: add possibility to keep order of childs for If blocks 2019-11-14 17:21:20 +01:00
ucm_cond.c ucm: add possibility to keep order of childs for If blocks 2019-11-14 17:21:20 +01:00
ucm_local.h ucm: add PlaybackCTL and CaptureCTL default values when they are not set 2019-11-14 15:00:40 +01:00
ucm_subs.c ucm: add ${CardComponents} substitution to the value string processing 2019-11-14 15:00:40 +01:00
utils.c ucm: add If condition block 2019-11-14 15:00:37 +01:00