Skip to content

Commit

Permalink
ALSA: usb-audio: Tascam US-16x08 DSP mixer quirk
Browse files Browse the repository at this point in the history
Add mixer quirk for Tascam US-16x08 usb interface.
Even that this is an usb compliant device,
the input channels and DSP functions (EQ/Compressor) aren't accessible
by default.

Signed-off-by: Detlef Urban <[email protected]>
Signed-off-by: Takashi Iwai <[email protected]>
  • Loading branch information
onkelDead authored and tiwai committed Feb 20, 2017
1 parent fc0e23f commit d2bb390
Show file tree
Hide file tree
Showing 4 changed files with 1,593 additions and 0 deletions.
1 change: 1 addition & 0 deletions sound/usb/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
5 changes: 5 additions & 0 deletions sound/usb/mixer_quirks.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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):
Expand Down
Loading

0 comments on commit d2bb390

Please sign in to comment.