mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-03 09:01:52 -05:00
topology: Parse physical DAIs in text conf file
Add support for parsing physical DAIs in the text configuration file. The syntax of physical DAIs is described in document in topology.h Signed-off-by: Mengdong Lin <mengdong.lin@linux.intel.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
50c77cdc7f
commit
0b6bd6c19a
6 changed files with 166 additions and 0 deletions
|
|
@ -46,6 +46,10 @@ struct snd_soc_tplg_private *get_priv_data(struct tplg_elem *elem)
|
|||
priv = &elem->widget->priv;
|
||||
break;
|
||||
|
||||
case SND_TPLG_TYPE_DAI:
|
||||
priv = &elem->dai->priv;
|
||||
break;
|
||||
|
||||
default:
|
||||
SNDERR("error: '%s': no support for private data for type %d\n",
|
||||
elem->id, elem->type);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue