04 Jun, 2015
1 commit
-
Make sure userspace can define TLV controls for topology using the correct
type numbers and channel mappings.Signed-off-by: Liam Girdwood
Acked-by: Takashi Iwai
Signed-off-by: Mark Brown
08 May, 2013
1 commit
-
Userspace is not meant to have to handle all strange dB ranges,
so add a specification comment.Signed-off-by: David Henningsson
Signed-off-by: Takashi Iwai
07 Sep, 2012
1 commit
-
This patch implements the basic data types for the standard channel
mapping API handling.- The definitions of the channel positions and the new TLV types are
added in sound/asound.h and sound/tlv.h, so that they can be
referred from user-space.- Introduced a new helper function snd_pcm_add_chmap_ctls() to create
control elements representing the channel maps for each PCM
(sub)stream.- Some standard pre-defined channel maps are provided for
convenience.Signed-off-by: Takashi Iwai
16 Jul, 2012
3 commits
-
Add a DECLARE_TLV_DB_RANGE() macro so that dB range information
can be specified without having to count the items manually for
TLV_DB_RANGE_HEAD().Signed-off-by: Clemens Ladisch
Signed-off-by: Takashi Iwai -
Add the DECLARE_TLV_CONTAINER() macro to allow having static
TLVs containing more than one item.Signed-off-by: Clemens Ladisch
Signed-off-by: Takashi Iwai -
Add helper macros with a little bit of preprocessor magic to
automatically compute the length of a TLV item. This lets us avoid
having to compute this by hand, and will allow to use items that do
not use a fixed length.Signed-off-by: Clemens Ladisch
Signed-off-by: Takashi Iwai
17 Oct, 2010
1 commit
-
Signed-off-by: Takashi Iwai
17 Jun, 2009
1 commit
-
Add new types for TLV dB scale specified with min/max values instead
of min/step since the resolution can't match always with the one
a device provides. For example, usb audio devices give 1/256 dB
resolution while ALSA TLV is based on 1/100 dB resolution.
The new min/max types have less problems because the possible
rounding error happens only at min/max.Signed-off-by: Takashi Iwai
16 Oct, 2007
1 commit
-
Signed-off-by: Jaroslav Kysela
23 Sep, 2006
3 commits
-
Added the definition of TLV dB range compound. It contains one or
more dB-range or linear-volume TLV entries with min/max ranges.
Used for volume controls with non-linear curves.Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Added the definition of linear volume TLV type.
Some DSP chips and codecs (e.g. AK codec) use linear volume control.Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
This patch implements a TLV mechanism to transfer an additional information
like dB scale to the user space. The types might be extended in future.
Acked-by: Takashi IwaiSigned-off-by: Jaroslav Kysela