summaryrefslogtreecommitdiff
path: root/sound/pci/echoaudio/darla20.c
diff options
context:
space:
mode:
authorGiuliano Pochini <pochini@shiny.it>2006-11-24 12:03:58 (GMT)
committerJaroslav Kysela <perex@suse.cz>2007-02-09 08:01:47 (GMT)
commit048b945077bdc7e8dff5d5810ff2a0ced3590ca9 (patch)
tree759b12cfa42c737ce7390b9cb4b1c60a70204c78 /sound/pci/echoaudio/darla20.c
parentd1d985f019c3b290e09881b7b23abdc87aee2895 (diff)
downloadlinux-048b945077bdc7e8dff5d5810ff2a0ced3590ca9.tar.xz
[ALSA] echoaudio, add TLV support
This patch adds TLV support to the echoaudio driver. All gains are in the range -127dB to +6dB with steps of 1dB, and -128 is mute. VU-meters levels go from -128 to 0dB. The input gain of the Layla20 ranges from -25dB to +25dB in steps of 0.5dB. Signed-off-by: Giuliano Pochini <pochini@shiny.it> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
Diffstat (limited to 'sound/pci/echoaudio/darla20.c')
-rw-r--r--sound/pci/echoaudio/darla20.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/pci/echoaudio/darla20.c b/sound/pci/echoaudio/darla20.c
index b7108e2..8e7fe03 100644
--- a/sound/pci/echoaudio/darla20.c
+++ b/sound/pci/echoaudio/darla20.c
@@ -47,6 +47,7 @@
#include <sound/core.h>
#include <sound/info.h>
#include <sound/control.h>
+#include <sound/tlv.h>
#include <sound/pcm.h>
#include <sound/pcm_params.h>
#include <sound/asoundef.h>