topology: Build data objects with tuples

For data objects with tuples, the parser will bind the vendor tuples
and tokens, copy the tuples to the private buffer of its parent data
object. Then later the builder will export the vendor tuples as private
binary data for the control or widgets objects.

Signed-off-by: Mengdong Lin <mengdong.lin@linux.intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
Mengdong Lin 2016-04-07 15:29:49 +08:00 committed by Takashi Iwai
parent fdb9a6d19f
commit 0c5e5c1801
3 changed files with 218 additions and 0 deletions

View file

@ -242,6 +242,10 @@ static int tplg_build_integ(snd_tplg_t *tplg)
{
int err;
err = tplg_build_data(tplg);
if (err < 0)
return err;
err = tplg_build_controls(tplg);
if (err < 0)
return err;