[alsa-devel] [PATCH 1/4] ALSA: control: return payload length for TLV operation
Clemens Ladisch
clemens at ladisch.de
Wed Aug 31 13:54:37 CEST 2016
Takashi Iwai wrote:
> TLV has never been and (will never be) an API to handle a
> generic binary stream.
It would be possible to define something like SNDRV_CTL_TLVT_HWDEP_BLOB
or _COEFFICIENTS, or to reserve a range of TLVT values for driver-
defined types. (But we cannot change soc-wm-adsp to support only proper
TLV data, because this would introduce a regression.)
Anyway, the separate length value could be useful only for drivers (like
soc-wm-adsp) that use a binary stream where TLV data should have been
used. But the software that writes these coefficients to the WM ADSP
driver is very hardware specific anyway, and it presumably already works
without knowing the returned length value. So there is no case where
this patchset _actually_ improves the interface.
Regards,
Clemens
More information about the Alsa-devel
mailing list