alsa-utils/topology
Ranjani Sridharan a1c2275090 topology:pre-process-object: merge object config with parent object config
An object can be declared within a class definition as follows:

Class.Pipeline.volume-playback {
	Object.Widget.pga.0 {
		ramp_step_ms 250
	}
}

While instantiating the volume-pipeline class, the pga object
could be modified as follows:

Object.Pipeline.volume-playback.0 {
	Object.Widget.pga.0 {
		format "s24le"
	}
}

When building the pga.0 object in the class definition, merge
the attributes declared in the volume-playback.0 object to create
a new config as follows to make sure that all attributes are
set for the pga object.

	Object.Widget.pga.0 {
		ramp_step_ms 250
                format "s24le"
        }

Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2021-08-23 16:49:56 +02:00
..
alsatplg.rst alsatplg: add decode command 2020-02-09 20:52:30 +01:00
Makefile.am topology: pre-process-dai: add support for hwcfg objects 2021-05-25 18:26:51 +02:00
pre-process-class.c topology: some whitespace fixups 2021-05-25 18:36:46 +02:00
pre-process-dai.c topology: some whitespace fixups 2021-05-25 18:36:46 +02:00
pre-process-dapm.c pre-process-dapm: add data section for kcontrols 2021-08-23 16:49:56 +02:00
pre-process-object.c topology:pre-process-object: merge object config with parent object config 2021-08-23 16:49:56 +02:00
pre-processor.c topology: pre-processor: fix typo in pre_process_config() 2021-08-23 16:49:56 +02:00
pre-processor.h pre-process-dapm: add data section for kcontrols 2021-08-23 16:49:56 +02:00
topology.c topology: Add support for pre-processing Topology2.0 syntax 2021-05-25 18:26:51 +02:00
topology.h topology: Add support for pre-processing Topology2.0 syntax 2021-05-25 18:26:51 +02:00