]> git.alsa-project.org Git - alsa-utils.git/commit
topology: pre-process-object: Add support for data objects
authorRanjani Sridharan <ranjani.sridharan@linux.intel.com>
Mon, 26 Apr 2021 18:48:43 +0000 (11:48 -0700)
committerJaroslav Kysela <perex@perex.cz>
Tue, 25 May 2021 16:26:51 +0000 (18:26 +0200)
commitcb65ce0195ed30f2f7ce18c1c38fd27f12a9fcda
treede8d5c848d28864fce608af521707e0a6d35f1be
parent48fef7a811e5e95a405a80ed9c256b489f605bc2
topology: pre-process-object: Add support for data objects

Pre-process data objects, create the SectionData and update
the parent object with the reference to the object.
For example, the following object instance:

Object.Base.data."SOF_ABI" {
bytes "0x03,0x12,0x01"
}

would update the SectionManifest as follows:
SectionManifest."sof_manifest" {
data [
"SOF_ABI"
]
}

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