]> git.alsa-project.org Git - alsa-utils.git/commit
topology: pre-process-class: function to get attribute type
authorRanjani Sridharan <ranjani.sridharan@linux.intel.com>
Fri, 23 Apr 2021 20:36:48 +0000 (13:36 -0700)
committerJaroslav Kysela <perex@perex.cz>
Tue, 25 May 2021 16:26:51 +0000 (18:26 +0200)
commitd8e9466e594dd62779bbc19eb2a379c79413f0d9
tree27df08be281f7cccaed9b37fe8ecfa2d65572e0e
parent0b0c16d4a7899c09126c5f12836a3c90ecebc099
topology: pre-process-class: function to get attribute type

Add a helper function to get attribute type from the
attribute definition and convert them to SND_CONFIG_TYPE_*
values. When no type if provided for an attribute, type
defaults to integer.

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