Skip to content

Commit cf9fb7b

Browse files
puleglottiwai
authored andcommitted
ALSA: usb-audio: Apply async workaround for Scarlett 2i4 2nd gen
Due to rounding error driver sometimes incorrectly calculate next packet size, which results in audible clicks on devices with synchronous playback endpoints. For example on a high speed bus and a sample rate 44.1 kHz it loses one sample every ~40.9 seconds. Fortunately playback interface on Scarlett 2i4 2nd gen has a working explicit feedback endpoint, so we can switch playback data endpoint to asynchronous mode as a workaround. Signed-off-by: Alexander Tsoy <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Takashi Iwai <[email protected]>
1 parent 7686e34 commit cf9fb7b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sound/usb/quirks.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1806,6 +1806,7 @@ void snd_usb_audioformat_attributes_quirk(struct snd_usb_audio *chip,
18061806
*/
18071807
fp->attributes &= ~UAC_EP_CS_ATTR_FILL_MAX;
18081808
break;
1809+
case USB_ID(0x1235, 0x8200): /* Focusrite Scarlett 2i4 2nd gen */
18091810
case USB_ID(0x1235, 0x8202): /* Focusrite Scarlett 2i2 2nd gen */
18101811
case USB_ID(0x1235, 0x8205): /* Focusrite Scarlett Solo 2nd gen */
18111812
/*

0 commit comments

Comments
 (0)