]> git.alsa-project.org Git - alsa-utils.git/commit
topology: pre-process-object: Add support for processing Manifest object
authorRanjani Sridharan <ranjani.sridharan@linux.intel.com>
Mon, 26 Apr 2021 18:19:31 +0000 (11:19 -0700)
committerJaroslav Kysela <perex@perex.cz>
Tue, 25 May 2021 16:26:51 +0000 (18:26 +0200)
commitd999c267d3acf08211e10416ee3dfcb66619304b
tree866fc4426e40eb26801b1975f87ba9000a4bfb78
parent1ca07d8dbca3194e9835e547476c0574b583b169
topology: pre-process-object: Add support for processing Manifest object

The pre-processor converts the Topology2.0 objects into
the relevant sections by looking for attributes defined
in the template config for the section and reading the
attribute values from the object instance config.

The structure struct build_function_map contains the
mapping of the build function to use for each object
based on the type and name for the class that the object
belongs to. The manifest object is the simplest with
no attributes. So, the build function simply creates
a new Section called SectionManifest which will be
populated with the data section in the following patches.

Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
topology/pre-process-object.c
topology/pre-processor.h