/[openvortex]/alsa/alsa-kernel/usb/usbquirks.h
ViewVC logotype

Diff of /alsa/alsa-kernel/usb/usbquirks.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by vizard, Sat May 31 02:35:13 2003 UTC revision 1.3 by vizard, Mon Aug 11 00:06:40 2003 UTC
# Line 453  Line 453 
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) {
# Line 520  Line 550 
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

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26