mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-05 13:30:00 -05:00
topology: Parse vendor private data for manifest
In text conf file, user can define a manifest section and let it refer to private data sections, in the same syntax as other element types. The text conf file can have at most 1 manifest section. Signed-off-by: Mengdong Lin <mengdong.lin@linux.intel.com> Reviewed-by: Takashi Sakamoto <o-takashi@sakamocchi.jp> Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
62c180981b
commit
a3683a2ba0
5 changed files with 153 additions and 2 deletions
|
|
@ -150,6 +150,10 @@ struct tplg_elem* tplg_elem_new_common(snd_tplg_t *tplg,
|
|||
case SND_TPLG_TYPE_DATA:
|
||||
list_add_tail(&elem->list, &tplg->pdata_list);
|
||||
break;
|
||||
case SND_TPLG_TYPE_MANIFEST:
|
||||
list_add_tail(&elem->list, &tplg->manifest_list);
|
||||
obj_size = sizeof(struct snd_soc_tplg_manifest);
|
||||
break;
|
||||
case SND_TPLG_TYPE_TEXT:
|
||||
list_add_tail(&elem->list, &tplg->text_list);
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue