alsa-utils/topology
Jyri Sarha 0029ab7cc7 topology: Expand attribute references inside $[] expressions
Properly expand referred object attributes inside $[] expression. This
allows for example this simplified case:

Define {
       CHANNELS 2
       BIT_DEPTH 16
}

Object.Base.foo {
	channels	$CHANNELS
	sample_bits	$BIT_DEPTH
	frame_bits	"$[$channels * $sample_bits]"
}

Closes: https://github.com/alsa-project/alsa-utils/pull/250
Reported-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
Signed-off-by: Jyri Sarha <jyri.sarha@linux.intel.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2024-01-24 18:38:03 +01:00
..
nhlt topology: nhlt: Fix dmic configuration blob building 2024-01-24 18:34:22 +01:00
alsatplg.rst alsatplg: add decode command 2020-02-09 20:52:30 +01:00
Makefile.am topology: add missing pre-process-external.h to Makefile.am 2022-05-03 14:06:13 +02:00
pre-process-class.c topology: use ATTRIBUTE_UNUSED instead remove argument name 2023-09-04 17:11:29 +02:00
pre-process-dai.c reshuffle included files to include config.h as first 2023-08-30 18:48:23 +02:00
pre-process-dapm.c topology: pre-processor: Add support for enum controls 2023-10-17 13:24:11 +02:00
pre-process-external.h topology: add simple topology plugin mechanism 2022-05-03 13:23:36 +02:00
pre-process-object.c topology: Expand attribute references inside $[] expressions 2024-01-24 18:38:03 +01:00
pre-processor.c topology: use ATTRIBUTE_UNUSED instead remove argument name 2023-09-04 17:11:29 +02:00
pre-processor.h topology: pre-processor: Add support for enum controls 2023-10-17 13:24:11 +02:00
topology.c misc: fix incorrect usages of strerror 2023-12-08 20:01:04 +01:00
topology.h topology: rename function free_pre_preprocessor to free_pre_processor 2022-01-27 15:02:02 +01:00