]> git.alsa-project.org Git - alsa-utils.git/commit
topology: pre-process-dapm: add support for scale/ops/channel objects
authorRanjani Sridharan <ranjani.sridharan@linux.intel.com>
Mon, 26 Apr 2021 19:55:26 +0000 (12:55 -0700)
committerJaroslav Kysela <perex@perex.cz>
Tue, 25 May 2021 16:26:51 +0000 (18:26 +0200)
commit082015dc95b1122e86ec13c3d0ded6eb99b022e6
tree5af85cc6d79f383a1af269268603c83c5edab33e
parent96b5e5a87536f57566fd59d89789a243f82e890e
topology: pre-process-dapm: add support for scale/ops/channel objects

Add support for pre-processing scale/ops/channel objects
and adding the converted config to the relevant sections.

For ex:
Object.Base.channel."fl" {
shift 0
reg 1
}
Object.Base.channel."fr" {
reg 1
shift 1
}

Will be converted to:

channel {
fl {
reg 1
shift 0
}
fr {
reg 1
shift 1
}
}

And added to the SectionControlMixer that this object belongs to.

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