mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-04 13:30:08 -05:00
topology: Support configuring physical DAIs by C API
In addition to text conf file, physical DAIs can also be configured by C API. This patch defines the template to add physical DAI configurations from C API. Signed-off-by: Guneshwor Singh <guneshwor.o.singh@intel.com> Signed-off-by: Mengdong Lin <mengdong.lin@linux.intel.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
0b6bd6c19a
commit
9117715371
4 changed files with 75 additions and 0 deletions
|
|
@ -364,6 +364,8 @@ int snd_tplg_add_object(snd_tplg_t *tplg, snd_tplg_obj_template_t *t)
|
|||
return tplg_add_graph_object(tplg, t);
|
||||
case SND_TPLG_TYPE_PCM:
|
||||
return tplg_add_pcm_object(tplg, t);
|
||||
case SND_TPLG_TYPE_DAI:
|
||||
return tplg_add_dai_object(tplg, t);
|
||||
case SND_TPLG_TYPE_LINK:
|
||||
case SND_TPLG_TYPE_BE:
|
||||
case SND_TPLG_TYPE_CC:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue