mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-05 13:30:00 -05:00
topology: Parse HW configurations of physical DAI links in text conf file
Users can configure the runtime supported HW configurations of a physical link by SectionHWConfig. A physical link can refer multiple HW config sections in SectionLink. Signed-off-by: Mengdong Lin <mengdong.lin@linux.intel.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
6b4d775b97
commit
f7bf8b0cc8
5 changed files with 236 additions and 0 deletions
|
|
@ -208,6 +208,10 @@ struct tplg_elem* tplg_elem_new_common(snd_tplg_t *tplg,
|
|||
list_add_tail(&elem->list, &tplg->tuple_list);
|
||||
elem->free = tplg_free_tuples;
|
||||
break;
|
||||
case SND_TPLG_TYPE_HW_CONFIG:
|
||||
list_add_tail(&elem->list, &tplg->hw_cfg_list);
|
||||
obj_size = sizeof(struct snd_soc_tplg_hw_config);
|
||||
break;
|
||||
default:
|
||||
free(elem);
|
||||
return NULL;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue