]> xenbits.xensource.com Git - people/royger/freebsd.git/commitdiff
snd_uaudio(4): Set hardware buffering to the minimum by default.
authorHans Petter Selasky <hselasky@FreeBSD.org>
Sat, 19 Feb 2022 23:10:53 +0000 (00:10 +0100)
committerHans Petter Selasky <hselasky@FreeBSD.org>
Sat, 19 Feb 2022 23:11:51 +0000 (00:11 +0100)
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

index 9f2708abcd0ff6eab3a46e0fc61d06b039b65051..621fd481c8c8152765340d80bf48810ba7c84ae9 100644 (file)
@@ -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,