OpenBSD cvs log

created 2025-01-06T18:53:06Z
begin 2025-01-04T09:26:01Z
end 2025-01-04T11:45:15Z
path src/sys
commits 1

date 2025-01-04T11:45:15Z
author ratchov
files src/sys/dev/usb/uaudio.c log diff annotate
message uaudio: Fix devices that don't support sample rate changes

Parse the class-specific endpoint descriptor to determine if the
device supports sample rate changes (i.e. the frequency control
attribute is set). Then, send the frequency change request only
to devices that support it.

For instance this fixes the Dell Slim soundbar that would freeze
upon a frequency change request.

With help from Joel Carnat <joel at carnat.net>, thanks!