[alsa-devel] [PATCH v4] ALSA: core api: define offsets for TLV items
Takashi Iwai
tiwai at suse.de
Sun May 13 12:32:59 CEST 2018
On Thu, 10 May 2018 02:53:04 +0200,
Ranjani Sridharan wrote:
>
> 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 at linux.intel.com>
> ---
>
> Notes:
> v4: change placement of tlv accessor offsets
Applied now to for-next branch (with Sakamoto-san's reviewed-by tag).
But at the next time, please put the maintainers and some other
relevant people in Cc.
thanks,
Takashi
More information about the Alsa-devel
mailing list