From f190f8d1a268aeb386830efa5aacf1c8f29f1230 Mon Sep 17 00:00:00 2001 From: Hans Petter Selasky Date: Sun, 20 Feb 2022 00:10:53 +0100 Subject: [PATCH] snd_uaudio(4): Set hardware buffering to the minimum by default. Improves the audio experience when using applications like audio/jamulus and audio/hpsjam . MFC after: 1 week Sponsored by: NVIDIA Networking --- sys/dev/sound/usb/uaudio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/sound/usb/uaudio.c b/sys/dev/sound/usb/uaudio.c index 9f2708abcd0..621fd481c8c 100644 --- a/sys/dev/sound/usb/uaudio.c +++ b/sys/dev/sound/usb/uaudio.c @@ -99,7 +99,7 @@ __FBSDID("$FreeBSD$"); static int uaudio_default_rate = 0; /* use rate list */ static int uaudio_default_bits = 32; static int uaudio_default_channels = 0; /* use default */ -static int uaudio_buffer_ms = 8; +static int uaudio_buffer_ms = 2; static bool uaudio_handle_hid = true; static SYSCTL_NODE(_hw_usb, OID_AUTO, uaudio, CTLFLAG_RW | CTLFLAG_MPSAFE, 0,