]> git.alsa-project.org Git - alsa-utils.git/commit
topology: pre-process-dai: add support for fe_dai objects
authorRanjani Sridharan <ranjani.sridharan@linux.intel.com>
Mon, 26 Apr 2021 20:31:00 +0000 (13:31 -0700)
committerJaroslav Kysela <perex@perex.cz>
Tue, 25 May 2021 16:26:51 +0000 (18:26 +0200)
commit3719c80a4dd33fe4b01beb69e85a33fb7cea5d6b
treed61889dd522efd8d3757f448681e11ded4d44cdd
parent4bc386bb715ea303dfffe46d1da4d242ca1d3914
topology: pre-process-dai: add support for fe_dai objects

Add support for fe_dai objects:

For ex:

Object.PCM.pcm."0" {
name "Port0"
direction "duplex"
Object.Base.fe_dai."Port 0" {}
}

will be converted to update the SectionPCM as follows:

SectionPCM {
        Port0 {
                id 0
                dai {
                        'Port 0' {
id 0
}
                }
}

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