opnsense-src/sys/dev/sound
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
..
fdt audio_soc: set "status" as being at simplebus 2024-01-28 13:32:38 +02:00
isa sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
macio sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
midi sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
pci snd_hdspe(4): Optional unified pcm device. 2024-02-25 21:39:36 +00:00
pcm sound: remove snddev_info->inprog and pcm_inprog() 2024-02-12 13:07:50 +02:00
usb snd_uaudio(4): Fix sample rate selection after 42fdcd9fd9. 2024-02-27 00:27:47 +01:00
chip.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
clone.c sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
clone.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
driver.c sound: add missing modules to snd_driver 2024-01-16 18:48:56 +02:00
unit.c sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
unit.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
version.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00