453 |
} |
} |
454 |
} |
} |
455 |
}, |
}, |
456 |
|
{ /* |
457 |
|
* This quirk is for the "Advanced Driver" mode of the Edirol UA-5. |
458 |
|
* If the advanced mode switch at the back of the unit is off, the |
459 |
|
* UA-5 has ID 0x0582/0x0011 and is standard compliant (no quirks), |
460 |
|
* but offers only 16-bit PCM. |
461 |
|
* In advanced mode, the UA-5 will output S24_3LE samples (two |
462 |
|
* channels) at the rate indicated on the front switch, including |
463 |
|
* the 96kHz sample rate. |
464 |
|
*/ |
465 |
|
USB_DEVICE(0x0582, 0x0010), |
466 |
|
.driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) { |
467 |
|
.vendor_name = "EDIROL", |
468 |
|
.product_name = "UA-5", |
469 |
|
.ifnum = QUIRK_ANY_INTERFACE, |
470 |
|
.type = QUIRK_COMPOSITE, |
471 |
|
.data = & (const snd_usb_audio_quirk_t[]) { |
472 |
|
{ |
473 |
|
.ifnum = 1, |
474 |
|
.type = QUIRK_AUDIO_STANDARD_INTERFACE |
475 |
|
}, |
476 |
|
{ |
477 |
|
.ifnum = 2, |
478 |
|
.type = QUIRK_AUDIO_STANDARD_INTERFACE |
479 |
|
}, |
480 |
|
{ |
481 |
|
.ifnum = -1 |
482 |
|
} |
483 |
|
} |
484 |
|
} |
485 |
|
}, |
486 |
{ |
{ |
487 |
USB_DEVICE(0x0582, 0x0012), |
USB_DEVICE(0x0582, 0x0012), |
488 |
.driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) { |
.driver_info = (unsigned long) & (const snd_usb_audio_quirk_t) { |
550 |
.data = & (const snd_usb_audio_quirk_t[]) { |
.data = & (const snd_usb_audio_quirk_t[]) { |
551 |
{ |
{ |
552 |
.ifnum = 1, |
.ifnum = 1, |
553 |
.type = QUIRK_STANDARD_INTERFACE |
.type = QUIRK_AUDIO_STANDARD_INTERFACE |
554 |
}, |
}, |
555 |
{ |
{ |
556 |
.ifnum = 2, |
.ifnum = 2, |
557 |
.type = QUIRK_STANDARD_INTERFACE |
.type = QUIRK_AUDIO_STANDARD_INTERFACE |
558 |
}, |
}, |
559 |
{ |
{ |
560 |
.ifnum = 3, |
.ifnum = 3, |
561 |
.type = QUIRK_STANDARD_INTERFACE |
.type = QUIRK_MIDI_STANDARD_INTERFACE |
562 |
}, |
}, |
563 |
{ |
{ |
564 |
.ifnum = -1 |
.ifnum = -1 |