Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Feb 2022 23:12:31 GMT
From:      Hans Petter Selasky <hselasky@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: f190f8d1a268 - main - snd_uaudio(4): Set hardware buffering to the minimum by default.
Message-ID:  <202202192312.21JNCVnM082445@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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,



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202202192312.21JNCVnM082445>