summaryrefslogtreecommitdiffstats
path: root/include/sound/emu10k1.h
diff options
context:
space:
mode:
authorJames Courtier-Dutton <James@superbug.co.uk>2006-07-22 18:02:10 +0200
committerJaroslav Kysela <perex@suse.cz>2006-09-23 10:38:32 +0200
commit31508f83f591dc8764427b6321c89f8f9e84bad2 (patch)
treee8b131303a9397232b33fbaaf5591f097f93af35 /include/sound/emu10k1.h
parent[ALSA] snd-ca0106: Fix dB gain TLVs. (diff)
downloadlinux-31508f83f591dc8764427b6321c89f8f9e84bad2.tar.xz
linux-31508f83f591dc8764427b6321c89f8f9e84bad2.zip
[ALSA] snd-emu10k1: Implement dB gain infomation.
Signed-off-by: James Courtier-Dutton <James@superbug.co.uk> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
Diffstat (limited to 'include/sound/emu10k1.h')
-rw-r--r--include/sound/emu10k1.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/sound/emu10k1.h b/include/sound/emu10k1.h
index 884bbf54cd36..892e310c504d 100644
--- a/include/sound/emu10k1.h
+++ b/include/sound/emu10k1.h
@@ -1524,6 +1524,10 @@ struct snd_emu10k1_fx8010_control_gpr {
unsigned int value[32]; /* initial values */
unsigned int min; /* minimum range */
unsigned int max; /* maximum range */
+ union {
+ snd_kcontrol_tlv_rw_t *c;
+ unsigned int *p;
+ } tlv;
unsigned int translation; /* translation type (EMU10K1_GPR_TRANSLATION*) */
};