linux/include/uapi/sound
Takashi Sakamoto 318824d3d0 ALSA: control: cage TLV_DB_RANGE_HEAD in kernel land because it was obsoleted
In commit bf1d1c9b61 ("ALSA: tlv: add DECLARE_TLV_DB_RANGE()"), the new
macro was added so that "dB range information can be specified without
having to count the items manually for TLV_DB_RANGE_HEAD()". In short,
TLV_DB_RANGE_HEAD macro was obsoleted.

In commit 46e860f768 ("ALSA: rename TLV-related macros so that they're
friendly to user applications"), TLV-related macros are exposed for
applications in user land to get content of data structured by
Type/Length/Value shape. The commit managed to expose TLV-related macros
as many as possible, while obsoleted TLV_DB_RANGE_HEAD() was included to
the list of exposed macros.

This situation brings some confusions to application developers because
they might think all exposed macros have their own purpose and useful for
applications.

For the reason, this commit moves TLV_DB_RANGE_HEAD macro from UAPI header
to a header for kernel land, again. The above commit is done within the
same development period for kernel 4.9, thus not published yet. This
commit might certainly brings no confusions to user land.

Reference: commit bf1d1c9b61 ("ALSA: tlv: add DECLARE_TLV_DB_RANGE()")
Reference: commit 46e860f768 ("ALSA: rename TLV-related macros so that they're friendly to user applications")
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2016-09-25 22:16:49 +02:00
..
asequencer.h ALSA: seq: Provide card number / PID via sequencer client info 2016-03-08 10:52:52 +01:00
asoc.h ASoC: topology: Set the link ID when creating a FE DAI link 2016-04-20 17:16:49 +01:00
asound_fm.h
asound.h ALSA: line6: Add hwdep interface to access the POD control messages 2016-09-19 23:03:47 +02:00
compress_offload.h ALSA: Fix spelling typo in Documentation/DocBook/alsa-driver-api.xml 2015-03-04 12:12:59 +01:00
compress_params.h ALSA: compress: Add SND_AUDIOCODEC_BESPOKE 2015-12-23 00:20:50 +00:00
emu10k1.h ALSA: emu10k1: added EMU10K1 version of DECLARE_BITMAP macro for UAPI 2015-10-15 10:02:26 +02:00
firewire.h ALSA: firewire-tascam: add hwdep interface 2015-10-02 18:17:04 +02:00
hdsp.h
hdspm.h ALSA: hdspm: use __u8, __u32 and __u64 from linux/types.h instead of stdint.h 2015-10-15 10:03:11 +02:00
Kbuild ALSA: uapi: Add three missing header files to Kbuild file 2016-05-31 17:33:32 +02:00
sb16_csp.h
sfnt_info.h
tlv.h ALSA: control: cage TLV_DB_RANGE_HEAD in kernel land because it was obsoleted 2016-09-25 22:16:49 +02:00
usb_stream.h ALSA: usx2y: Move UAPI definition into include/uapi/sound/usb_stream.h 2015-01-28 17:33:49 +01:00