Re: [PATCH] ALSA: usb-audio: Add quirk for VF0790
From: Takashi Iwai
Date: Mon Nov 16 2026 - 07:18:02 EST
On Sun, 15 Nov 2026 19:13:24 +0100,
Vytautas Liuolia wrote:
>
> The Creative Live! Cam Chat HD VF0790 (041e:4097) has the same audio
> interface layout as the VF0770: interface 3 offers S16_LE and S24_3LE
> capture altsettings at 8, 16, 44.1 and 48 kHz. The 24-bit altsettings
> advertise the same wMaxPacketSize as their 16-bit counterparts, e.g.
> 216 bytes at 48 kHz, which holds 54 frames of S16_LE but only 36 frames
> of S24_3LE instead of the 48 needed per 1 ms packet. The device then
> delivers only 36 frames per packet.
>
> PipeWire picks S24_3LE by default, so 1/4 of the samples are lost: the
> captured audio sounds chopped and carries a constant 1333 Hz buzz, one
> discontinuity every 0.75 ms. Timed raw captures at 48 kHz with arecord
> deliver about 36000 frames/s with S24_3LE and 48000 frames/s with
> S16_LE.
>
> As done for the VF0770, only report the 16-bit 48 kHz altsetting. The
> other 16-bit rates have not been verified, so leave them out as well.
>
> Tested with this patch applied to snd-usb-audio from v7.0: the capture
> stream now only lists the S16_LE 48 kHz altsetting, PipeWire uses it
> without any local configuration, and recordings no longer show the
> 1333 Hz artifact.
>
> The problem was diagnosed, and this patch written, with the help of an
> AI coding assistant (Claude Code).
>
> Cc: stable@xxxxxxxxxxxxxxx
> Signed-off-by: Vytautas Liuolia <vytautas@xxxxxxxxxx>
Applied to for-next branch now. Thanks.
Takashi