ALSA: Tascam US-16x08 DSP mixer quirk
PATCH v6 1/1 ALSA: Tascam US-16x08 DSP mixer quirk
Fixed codestyle, removed blank lines among the variable definitions / declarations. Changed log messages to usb_audio_dbg(), although they happens in therory only. Changed most control names to standard naming rule (where suitable, I'd miss naming rules for EQ or compressor features).
Add mixer quirk for Tascam US-16x08 usb interface. Even that this an usb compliant device,
the input channels and DSP functions (EQ/Compressor) arn't accessible by default.
Signed-off-by Detlef Urban <[email protected]>
--- sound/usb/Makefile | 1 + sound/usb/mixer_quirks.c | 5 + sound/usb/mixer_us16x08.c | 1435 +++++++++++++++++++++++++++++++++++++++++++++ sound/usb/mixer_us16x08.h | 122 ++++ 4 files changed, 1563 insertions(+) create mode 100644 sound/usb/mixer_us16x08.c create mode 100644 sound/usb/mixer_us16x08.h
sound/usb/Makefile +1 -0
@@ -10,6 +10,7 @@ snd-usb-audio-objs := card.o \ mixer.o \ mixer_quirks.o \ mixer_scarlett.o \ + mixer_us16x08.o \ pcm.o \ proc.o \ quirks.o \
sound/usb/mixer_quirks.c +5 -0
@@ -43,6 +43,7 @@#include "mixer.h" #include "mixer_quirks.h" #include "mixer_scarlett.h" +#include "mixer_us16x08.h" #include "helper.h" extern struct snd_kcontrol_new *snd_usb_feature_unit_ctl;
@@ -1729,6 +1730,10 @@ int snd_usb_mixer_apply_create_quirk(struct usb_mixer_interface *mixer)return err;switch (mixer->chip->usb_id) { +/* Tascam US-16x08 */ +case USB_ID (0x0644 ,0x8047 ): + err =snd_us16x08_controls_create (mixer); +break ;case USB_ID (0x041e ,0x3020 ):case USB_ID (0x041e ,0x3040 ):case USB_ID (0x041e ,0x3042 ):
sound/usb/mixer_us16x08.c new file +1435 -0
1,435 lines not on this page · raw message
sound/usb/mixer_us16x08.h new file +122 -0
122 lines not on this page · raw message
Signature · 1 line
2.7.4