mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-15 07:00:02 -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
|
|
@ -221,10 +221,10 @@ static int write_block(snd_tplg_t *tplg, struct list_head *base,
|
|||
SND_SOC_TPLG_TYPE_PCM, "pcm");
|
||||
case SND_TPLG_TYPE_BE:
|
||||
return write_elem_block(tplg, base, size,
|
||||
SND_SOC_TPLG_TYPE_DAI_LINK, "be");
|
||||
SND_SOC_TPLG_TYPE_BACKEND_LINK, "be");
|
||||
case SND_TPLG_TYPE_CC:
|
||||
return write_elem_block(tplg, base, size,
|
||||
SND_SOC_TPLG_TYPE_DAI_LINK, "cc");
|
||||
SND_SOC_TPLG_TYPE_CODEC_LINK, "cc");
|
||||
case SND_TPLG_TYPE_DATA:
|
||||
return write_elem_block(tplg, base, size,
|
||||
SND_SOC_TPLG_TYPE_PDATA, "data");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue