diff options
author | Jaroslav Kysela <perex@suse.cz> | 2006-06-01 12:34:01 -0400 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2006-09-23 04:36:42 -0400 |
commit | 42750b04c5baa7c5ffdf0a8be2b9b320efdf069f (patch) | |
tree | 52aea8f1eeb44405b67bc5b381cce6bc20e2bff6 /include/sound/control.h | |
parent | 3eeab61aa3ddd3c0bedb7449ada1599de22fdb5a (diff) |
[ALSA] Control API - TLV implementation for additional information like dB scale
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 Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
Diffstat (limited to 'include/sound/control.h')
-rw-r--r-- | include/sound/control.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sound/control.h b/include/sound/control.h index 2489b1eb0110..a93a58d0e688 100644 --- a/include/sound/control.h +++ b/include/sound/control.h | |||
@@ -42,6 +42,7 @@ struct snd_kcontrol_new { | |||
42 | snd_kcontrol_info_t *info; | 42 | snd_kcontrol_info_t *info; |
43 | snd_kcontrol_get_t *get; | 43 | snd_kcontrol_get_t *get; |
44 | snd_kcontrol_put_t *put; | 44 | snd_kcontrol_put_t *put; |
45 | unsigned int *tlv; | ||
45 | unsigned long private_value; | 46 | unsigned long private_value; |
46 | }; | 47 | }; |
47 | 48 | ||
@@ -58,6 +59,7 @@ struct snd_kcontrol { | |||
58 | snd_kcontrol_info_t *info; | 59 | snd_kcontrol_info_t *info; |
59 | snd_kcontrol_get_t *get; | 60 | snd_kcontrol_get_t *get; |
60 | snd_kcontrol_put_t *put; | 61 | snd_kcontrol_put_t *put; |
62 | unsigned int *tlv; | ||
61 | unsigned long private_value; | 63 | unsigned long private_value; |
62 | void *private_data; | 64 | void *private_data; |
63 | void (*private_free)(struct snd_kcontrol *kcontrol); | 65 | void (*private_free)(struct snd_kcontrol *kcontrol); |