[alsa-devel] [PATCH v2 3/3] ALSA: topology: Export ID types for TLV controls.

Takashi Iwai tiwai at suse.de
Thu May 28 16:59:35 CEST 2015


At Thu, 28 May 2015 15:47:36 +0100,
Liam Girdwood wrote:
> 
> On Mon, 2015-05-25 at 18:22 +0100, Liam Girdwood wrote:
> > Make sure userspace can define TLV controls for topolofy using the correct
> > type numbers.
> > 
> > Signed-off-by: Liam Girdwood <liam.r.girdwood at linux.intel.com>
> > ---
> >  include/sound/tlv.h      |  7 +------
> >  include/uapi/sound/tlv.h | 23 +++++++++++++++++++++++
> >  2 files changed, 24 insertions(+), 6 deletions(-)
> >  create mode 100644 include/uapi/sound/tlv.h
> > 
> > diff --git a/include/sound/tlv.h b/include/sound/tlv.h
> 
> Takashi, do you want this rolled into uapi/sound/asound.h or is it fine
> as a separate file ?

I think uapi/sound/tlv.h is fine.

But don't forget to export other consts.  For example,
SNDRV_CTL_TLVT_CHMAP_* are also reserved for channel-maps.


thanks,

Takashi


More information about the Alsa-devel mailing list