mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-05 13:30:00 -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
|
|
@ -192,6 +192,10 @@ struct tplg_elem* tplg_elem_new_common(snd_tplg_t *tplg,
|
|||
list_add_tail(&elem->list, &tplg->pcm_list);
|
||||
obj_size = sizeof(struct snd_soc_tplg_pcm);
|
||||
break;
|
||||
case SND_TPLG_TYPE_DAI:
|
||||
list_add_tail(&elem->list, &tplg->dai_list);
|
||||
obj_size = sizeof(struct snd_soc_tplg_dai);
|
||||
break;
|
||||
case SND_TPLG_TYPE_BE:
|
||||
case SND_TPLG_TYPE_LINK:
|
||||
list_add_tail(&elem->list, &tplg->be_list);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue