]> git.alsa-project.org Git - alsa-utils.git/commit
topology/pre-process-object: update object config with attributes
authorRanjani Sridharan <ranjani.sridharan@linux.intel.com>
Mon, 26 Apr 2021 16:58:44 +0000 (09:58 -0700)
committerJaroslav Kysela <perex@perex.cz>
Tue, 25 May 2021 16:26:51 +0000 (18:26 +0200)
commit624c814c6565b4df942d1429eb3e2e86bea91ef4
treed2948d388e193d9582c5210c8950a9e23bcfb8a0
parent4d413567b07f8f42a1e87d33464da31924e1d61c
topology/pre-process-object: update object config with attributes

Object attributes can be set in multiple places. Search for
the attribute value in the following order:
1. Value set in object instance
2. Default value set in the object's class definition
3. Inherited value from the parent object
4. Value set in the object instance embedded in the parent object
5. Value set in the object instance embedded in the parent class definition

Mandatory attributes must be found in one of the above, resulting
in an error if not found.

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