From: Takashi Iwai <tiwai@suse.de>
To: Vytautas Liuolia <vytautas@liuolia.eu>
Cc: Takashi Iwai <tiwai@suse.com>, Jaroslav Kysela <perex@perex.cz>,
linux-sound@vger.kernel.org, linux-kernel@vger.kernel.org,
stable@vger.kernel.org
Subject: Re: [PATCH] ALSA: usb-audio: Add quirk for VF0790
Date: Mon, 16 Nov 2026 13:17:55 +0100 [thread overview]
Message-ID: <875wxxynpo.wl-tiwai@suse.de> (raw)
In-Reply-To: <20261115181324.97843-1-vytautas@liuolia.eu>
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@vger.kernel.org
> Signed-off-by: Vytautas Liuolia <vytautas@liuolia.eu>
Applied to for-next branch now. Thanks.
Takashi
prev parent reply other threads:[~2026-11-16 12:17 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-15 18:13 Vytautas Liuolia
2026-11-16 12:17 ` Takashi Iwai [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=875wxxynpo.wl-tiwai@suse.de \
--to=tiwai@suse.de \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-sound@vger.kernel.org \
--cc=perex@perex.cz \
--cc=stable@vger.kernel.org \
--cc=tiwai@suse.com \
--cc=vytautas@liuolia.eu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®