mirror of
https://github.com/torvalds/linux.git
synced 2024-11-22 20:22:09 +00:00
ALSA: usb-audio: Configure Pioneer DJM-850 samplerate
Send an `URB_CONTROL out` USB frame to the device to configure its
samplerate. This should be done before using the device for audio
streaming (capture or playback).
See 172fb9a610/doc/windows-dvs/framerate-setting/README.md
Signed-off-by: Nicolas MURE <nicolas.mure2019@gmail.com>
Link: https://lore.kernel.org/r/20210301152729.18094-4-nicolas.mure2019@gmail.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
7687850b95
commit
1a2a94a439
@ -1503,6 +1503,9 @@ void snd_usb_set_format_quirk(struct snd_usb_substream *subs,
|
||||
case USB_ID(0x2b73, 0x0013): /* Pioneer DJM-450 */
|
||||
pioneer_djm_set_format_quirk(subs, 0x0082);
|
||||
break;
|
||||
case USB_ID(0x08e4, 0x0163): /* Pioneer DJM-850 */
|
||||
pioneer_djm_set_format_quirk(subs, 0x0086);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user