]> git.alsa-project.org Git - alsa-utils.git/commit
topology: pre-process-obejct: add helper function to get the section config
authorRanjani Sridharan <ranjani.sridharan@linux.intel.com>
Mon, 26 Apr 2021 18:33:12 +0000 (11:33 -0700)
committerJaroslav Kysela <perex@perex.cz>
Tue, 25 May 2021 16:26:51 +0000 (18:26 +0200)
commit48fef7a811e5e95a405a80ed9c256b489f605bc2
treee211da57f2039c4a8f65eea78294481e623d9cb1
parent571d1fe8718b4b08273d452ccca22415207b2879
topology: pre-process-obejct: add helper function to get the section config

Add a helper function to retrieve the config node
pointing to the section name for a given object.
For ex: for the object, Object.Widget.pga.1{},
the function returns the config with id, "SectionWidget"
in the output config.

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