Skip to content

Commit d2bb390

Browse files
onkelDeadtiwai
authored andcommitted
ALSA: usb-audio: Tascam US-16x08 DSP mixer quirk
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]>
1 parent fc0e23f commit d2bb390

File tree

4 files changed

+1593
-0
lines changed

4 files changed

+1593
-0
lines changed

sound/usb/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ snd-usb-audio-objs := card.o \
1010
mixer.o \
1111
mixer_quirks.o \
1212
mixer_scarlett.o \
13+
mixer_us16x08.o \
1314
pcm.o \
1415
proc.o \
1516
quirks.o \

sound/usb/mixer_quirks.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343
#include "mixer.h"
4444
#include "mixer_quirks.h"
4545
#include "mixer_scarlett.h"
46+
#include "mixer_us16x08.h"
4647
#include "helper.h"
4748

4849
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)
17291730
return err;
17301731

17311732
switch (mixer->chip->usb_id) {
1733+
/* Tascam US-16x08 */
1734+
case USB_ID(0x0644, 0x8047):
1735+
err = snd_us16x08_controls_create(mixer);
1736+
break;
17321737
case USB_ID(0x041e, 0x3020):
17331738
case USB_ID(0x041e, 0x3040):
17341739
case USB_ID(0x041e, 0x3042):

0 commit comments

Comments
 (0)