diff options
author | Ranjani Sridharan <ranjani.sridharan@linux.intel.com> | 2018-05-10 03:53:04 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2018-05-13 13:31:45 +0300 |
commit | 08f9f4485f2158de0fa77506687a073cb869e803 (patch) | |
tree | 4257de43b6278d37734203557e7edf77ddbae258 /include/uapi/sound/sfnt_info.h | |
parent | 47cdf76e44e87d25b91c0f0d0539944c932941ba (diff) | |
download | linux-08f9f4485f2158de0fa77506687a073cb869e803.tar.xz |
ALSA: core api: define offsets for TLV items
Currently, there are no pre-defined accessors for the elements
in topology TLV data. In the absence of such offsets, the
tlv data will have to be decoded using hardwired offset
numbers 0-N depending on the type of TLV. This patch defines
accessor offsets for the type, length, min and mute/step items
in TLV data for DB_SCALE type tlv's. These will be used by drivers to
decode the TLV data while loading topology thereby improving
code readability. The type and len offsets are common for all TLV
types. The min and step/mute offsets are specific to DB_SCALE tlv type.
Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'include/uapi/sound/sfnt_info.h')
0 files changed, 0 insertions, 0 deletions