git: f190f8d1a268 - main - snd_uaudio(4): Set hardware buffering to the minimum by default.

From: Hans Petter Selasky <hselasky_at_FreeBSD.org>
Date: Sat, 19 Feb 2022 23:12:31 UTC
The branch main has been updated by hselasky:

URL: https://cgit.FreeBSD.org/src/commit/?id=f190f8d1a268aeb386830efa5aacf1c8f29f1230

commit f190f8d1a268aeb386830efa5aacf1c8f29f1230
Author:     Hans Petter Selasky <hselasky@FreeBSD.org>
AuthorDate: 2022-02-19 23:10:53 +0000
Commit:     Hans Petter Selasky <hselasky@FreeBSD.org>
CommitDate: 2022-02-19 23:11:51 +0000

    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 9f2708abcd0f..621fd481c8c8 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,