]> git.alsa-project.org Git - alsa-lib.git/commit
topology: An element can refer to multipe data sections in text conf file
authorMengdong Lin <mengdong.lin@linux.intel.com>
Fri, 15 Jul 2016 12:17:43 +0000 (20:17 +0800)
committerTakashi Iwai <tiwai@suse.de>
Sun, 17 Jul 2016 07:59:21 +0000 (09:59 +0200)
commitbb03d929e85f82a82c91da68dd14c952b80b051d
tree3fc0318ac34467002dc5e6bf39410a09afc8b6d2
parentfce5b6dcd1ad506768bd2d44890bb234d3ac0301
topology: An element can refer to multipe data sections in text conf file

Previously in text conf file, an element can only refer to one data
section (SectionData). Now it can also refer to a list of data sections.
Thus users can split groups of firmware parameters to multiple data
sections, and put them all in the reference list.

Finally, data of these data sections will be merged, in the same order as
they are in the reference list, as the element's private data for kernel.

We still support the original syntax of reference to a single data
section. The doc is updated for the syntax extension.

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>
include/topology.h
src/topology/ctl.c
src/topology/dapm.c
src/topology/data.c
src/topology/tplg_local.h