ALSA: usb-audio: Add Pioneer DDJ-SX3 PCM quirck
The Pioneer DDJ-SX3 is a plain 12 32bit channel out and 10 channel in PCM/midi controller. The PCM part is "vendor specific". It needs the "ignore invalid bsynchaddress" patch as it uses 0 for that. Signed-off-by: Ard van Breemen <ard@kwaak.net> Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
1b34121d9f
commit
118b2806a0
|
@ -3534,5 +3534,62 @@ AU0828_DEVICE(0x2040, 0x7270, "Hauppauge", "HVR-950Q"),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
/*
|
||||||
|
* PIONEER DJ DDJ-SX3
|
||||||
|
* PCM is 12 channels out, 10 channels in @ 44.1 fixed
|
||||||
|
* interface 0, vendor class alt setting 1 for endpoints 5 and 0x86
|
||||||
|
* The feedback for the output is the input.
|
||||||
|
*/
|
||||||
|
USB_DEVICE_VENDOR_SPEC(0x2b73, 0x0023),
|
||||||
|
.driver_info = (unsigned long) &(const struct snd_usb_audio_quirk) {
|
||||||
|
.ifnum = QUIRK_ANY_INTERFACE,
|
||||||
|
.type = QUIRK_COMPOSITE,
|
||||||
|
.data = (const struct snd_usb_audio_quirk[]) {
|
||||||
|
{
|
||||||
|
.ifnum = 0,
|
||||||
|
.type = QUIRK_AUDIO_FIXED_ENDPOINT,
|
||||||
|
.data = &(const struct audioformat) {
|
||||||
|
.formats = SNDRV_PCM_FMTBIT_S32_LE,
|
||||||
|
.channels = 12,
|
||||||
|
.iface = 0,
|
||||||
|
.altsetting = 1,
|
||||||
|
.altset_idx = 1,
|
||||||
|
.endpoint = 0x05,
|
||||||
|
.ep_attr = USB_ENDPOINT_XFER_ISOC|
|
||||||
|
USB_ENDPOINT_SYNC_ASYNC,
|
||||||
|
.rates = SNDRV_PCM_RATE_44100,
|
||||||
|
.rate_min = 44100,
|
||||||
|
.rate_max = 44100,
|
||||||
|
.nr_rates = 1,
|
||||||
|
.rate_table = (unsigned int[]) { 44100 }
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
.ifnum = 0,
|
||||||
|
.type = QUIRK_AUDIO_FIXED_ENDPOINT,
|
||||||
|
.data = &(const struct audioformat) {
|
||||||
|
.formats = SNDRV_PCM_FMTBIT_S32_LE,
|
||||||
|
.channels = 10,
|
||||||
|
.iface = 0,
|
||||||
|
.altsetting = 1,
|
||||||
|
.altset_idx = 1,
|
||||||
|
.endpoint = 0x86,
|
||||||
|
.ep_attr = USB_ENDPOINT_XFER_ISOC|
|
||||||
|
USB_ENDPOINT_SYNC_ASYNC|
|
||||||
|
USB_ENDPOINT_USAGE_IMPLICIT_FB,
|
||||||
|
.rates = SNDRV_PCM_RATE_44100,
|
||||||
|
.rate_min = 44100,
|
||||||
|
.rate_max = 44100,
|
||||||
|
.nr_rates = 1,
|
||||||
|
.rate_table = (unsigned int[]) { 44100 }
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
.ifnum = -1
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
#undef USB_DEVICE_VENDOR_SPEC
|
#undef USB_DEVICE_VENDOR_SPEC
|
||||||
|
|
Loading…
Reference in New Issue