alsa-lib/src/ucm
Jaroslav Kysela 27aa3e41ef ucm: add Repeat block - repetitive pattern substitution (Syntax 9)
Implements Repeat blocks for generating repetitive configuration patterns
with variable substitution. This feature allows applying a configuration
block multiple times with different variable values, significantly reducing
duplication in UCM configuration files.

iterator abstraction allows easy extension for future pattern types.

Example:

  Repeat.VolumeInit {
    Pattern {
      Variable 'ch'
      Type Integer
      First 0
      Last 7
      Step 1
    }
    Apply {
      cset "name='PCM Channel ${var:ch} Volume' 100%"
    }
  }

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2026-02-06 19:32:28 +01:00
..
main.c ucm: fix invalid pointer dereference in parse_open_variables() 2026-02-04 18:43:59 +01:00
Makefile.am ucm: add Repeat block - repetitive pattern substitution (Syntax 9) 2026-02-06 19:32:28 +01:00
parser.c ucm: add Repeat block - repetitive pattern substitution (Syntax 9) 2026-02-06 19:32:28 +01:00
ucm_cond.c ucm: add integer comparison condition (Syntax 9) 2026-02-06 18:27:37 +01:00
ucm_confdoc.h ucm: add Repeat block - repetitive pattern substitution (Syntax 9) 2026-02-06 19:32:28 +01:00
ucm_exec.c ucm: exec - fix maxfd used warning 2025-12-09 17:48:46 +01:00
ucm_include.c ucm: Include directive - add optional behaviour 2025-12-04 12:11:41 +01:00
ucm_local.h ucm: add Repeat block - repetitive pattern substitution (Syntax 9) 2026-02-06 19:32:28 +01:00
ucm_regex.c ucm: fix the DefineRegex issue where multiple variables were set to empty string 2025-12-04 12:11:41 +01:00
ucm_repeat.c ucm: add Repeat block - repetitive pattern substitution (Syntax 9) 2026-02-06 19:32:28 +01:00
ucm_subs.c coverity.com fixes - initial round 2025-11-12 15:36:29 +01:00
utils.c ucm: add some traces for the config filenames 2026-01-08 13:56:48 +01:00