[alsa-devel] [PATCH 1/4] ALSA: control: return payload length for TLV operation

Takashi Iwai tiwai at suse.de
Wed Aug 31 14:08:38 CEST 2016


On Wed, 31 Aug 2016 13:54:37 +0200,
Clemens Ladisch wrote:
> 
> 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.)

Well, passing the random hw-specific data is fine, but what I meant is
that a "stream" isn't suitable with TLV.  (And I don't mean it's
impossible, either :)


Takashi


More information about the Alsa-devel mailing list