OSDN Git Service

topology: ABI - Define types for vendor tuples
authorMengdong Lin <mengdong.lin@linux.intel.com>
Thu, 7 Apr 2016 07:29:27 +0000 (15:29 +0800)
committerTakashi Iwai <tiwai@suse.de>
Thu, 7 Apr 2016 14:57:21 +0000 (16:57 +0200)
commit768a006089fab94d5aeffd9115da3fbe951a94f8
treef0f3ba8bb5d80fbaf478ddecf79e359a08c4093e
parent2fd8d388f530b03872d8afb51b0f98c6474646c7
topology: ABI - Define types for vendor tuples

Tuples, a pair of token and value, can be used to define vendor specific
data, for controls and widgets. This can avoid importing binary data blob
from other files.

Vendor specific tuple arrays will be embeded in the private data buffer
of a control or widget object. To be backward compatible, union is used
to define the tuple arrays in the existing private data ABI object
'struct snd_soc_tplg_private'.

Vendors need to make sure the token values defined by the topology conf
file match those defined by their driver.

Now supported tuple types are uuid, string, bool, byte, short and word.

Signed-off-by: Mengdong Lin <mengdong.lin@linux.intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/sound/asoc.h