mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-04 13:30:08 -05:00
topology: Add C API support for BE and CC Links.
Adding BE and CC Link support for C API reference. This will be used to populate the .hw_params element for BE and .params for CC, enabling us to update already existing DAI Links created by the kernel. Signed-off-by: Mengdong Lin <mengdong.lin@linux.intel.com> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
ed5ee7ec2e
commit
2286a6fd4d
4 changed files with 74 additions and 2 deletions
|
|
@ -311,6 +311,9 @@ int snd_tplg_add_object(snd_tplg_t *tplg, snd_tplg_obj_template_t *t)
|
|||
return tplg_add_widget_object(tplg, t);
|
||||
case SND_TPLG_TYPE_DAPM_GRAPH:
|
||||
return tplg_add_graph_object(tplg, t);
|
||||
case SND_TPLG_TYPE_BE:
|
||||
case SND_TPLG_TYPE_CC:
|
||||
return tplg_add_link_object(tplg, t);
|
||||
default:
|
||||
SNDERR("error: invalid object type %d\n", t->type);
|
||||
return -EINVAL;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue