]> git.alsa-project.org Git - alsa-utils.git/commit
topology: pre-process-dapm: Add support for DAPM Widget objects
authorRanjani Sridharan <ranjani.sridharan@linux.intel.com>
Mon, 26 Apr 2021 19:45:01 +0000 (12:45 -0700)
committerJaroslav Kysela <perex@perex.cz>
Tue, 25 May 2021 16:26:51 +0000 (18:26 +0200)
commit032d1250c7225ec2723f598b1d61d37dba0527ee
tree4abb678f82f12fb726728522e6565657f3c219fd
parentd271972177947b6c7b4ad4bc3d58c4b36255063a
topology: pre-process-dapm: Add support for DAPM Widget objects

Add support for pre-processing DAPM widget opbects.
For ex:

Object.Widget.pga."0" {
        pipeline_id     1
no_pm true
type pga
}

will be converted to:

SectionWidget.'pga.0' {
index 1
type pga
no_pm 1
}

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