aboutsummaryrefslogtreecommitdiffstats
path: root/sound/usb/usbquirks.h
diff options
context:
space:
mode:
authorClemens Ladisch <clemens@ladisch.de>2005-04-06 03:47:02 -0400
committerJaroslav Kysela <perex@suse.cz>2005-05-29 03:58:18 -0400
commit5af4c83375cba113fb7e1ed57024a5442ca5060e (patch)
tree777c5eaa0585537c7dba5c95c2ceb92454d692bd /sound/usb/usbquirks.h
parent0aa0d387877e8e6408d316aaee1ea84f8e1fb447 (diff)
[ALSA] usb-audio - BOSS GS-10 PCM support
USB generic driver This patch adds quirks to support 24-bit PCM I/O in the 'Advanced Driver' mode of the BOSS GS-10. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Diffstat (limited to 'sound/usb/usbquirks.h')
-rw-r--r--sound/usb/usbquirks.h28
1 files changed, 23 insertions, 5 deletions
diff --git a/sound/usb/usbquirks.h b/sound/usb/usbquirks.h
index 88bbd944d4be..00781fea2115 100644
--- a/sound/usb/usbquirks.h
+++ b/sound/usb/usbquirks.h
@@ -609,15 +609,33 @@ YAMAHA_DEVICE(0x7010, "UB99"),
609 } 609 }
610}, 610},
611{ 611{
612 /*
613 * This quirk is for the "Advanced Driver" mode. If off, the GS-10
614 * has ID 0x003c and is standard compliant, but has only 16-bit PCM
615 * and no MIDI.
616 */
612 USB_DEVICE_VENDOR_SPEC(0x0582, 0x003b), 617 USB_DEVICE_VENDOR_SPEC(0x0582, 0x003b),
613 .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) { 618 .driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) {
614 .vendor_name = "BOSS", 619 .vendor_name = "BOSS",
615 .product_name = "GS-10", 620 .product_name = "GS-10",
616 .ifnum = 3, 621 .ifnum = QUIRK_ANY_INTERFACE,
617 .type = QUIRK_MIDI_FIXED_ENDPOINT, 622 .type = QUIRK_COMPOSITE,
618 .data = & (const snd_usb_midi_endpoint_info_t) { 623 .data = & (const snd_usb_audio_quirk_t[]) {
619 .out_cables = 0x0003, 624 {
620 .in_cables = 0x0003 625 .ifnum = 1,
626 .type = QUIRK_AUDIO_STANDARD_INTERFACE
627 },
628 {
629 .ifnum = 2,
630 .type = QUIRK_AUDIO_STANDARD_INTERFACE
631 },
632 {
633 .ifnum = 3,
634 .type = QUIRK_MIDI_STANDARD_INTERFACE
635 },
636 {
637 .ifnum = -1
638 }
621 } 639 }
622 } 640 }
623}, 641},