opnsense-src/sys/dev/sound/usb
Florian Walpen a9341f0f0a snd_uaudio(4): Fix sample rate selection after 42fdcd9fd9.
The sample rate selection of snd_uaudio(4) at runtime was implicitly
relying on a specific order in the device config list. In case a default
was set through the hw.usb.uaudio.default_rate sysctl tunable, commit
42fdcd9fd9 removed a duplicate sample rate entry from that list, which
inadvertently broke sample rate selection at runtime. Implement sample
rate selection in a way that works for any order in the device config
list.

Reported by:	Lexi Winter <lexi@le-fay.org>
MFC after:	1 week
Reviewed by:	christos
Differential Revision:	https://reviews.freebsd.org/D44051
2024-02-27 00:27:47 +01:00
..
uaudio.c snd_uaudio(4): Fix sample rate selection after 42fdcd9fd9. 2024-02-27 00:27:47 +01:00
uaudio.h sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00
uaudio_pcm.c snd_uaudio: prefix module declaration with "snd_" 2024-01-16 18:48:49 +02:00
uaudioreg.h sys: Remove $FreeBSD$: one-line .c comment pattern 2023-08-16 11:54:24 -06:00