From nobody Sat Feb 19 23:12:31 2022 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 703E219DFC3C; Sat, 19 Feb 2022 23:12:31 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4K1PV72Y9Bz4hgS; Sat, 19 Feb 2022 23:12:31 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1645312351; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=DpFwDMwMQWVhoEfCEzwfMDk6sAAJKgFtKN2trYjD7jY=; b=nyazSd2zgUDhgW6ncyHp4EKzEBR8uCmIxUdIWmVBzwxyUUKesE0T7Qi8pW/t2/QrlWxeqC fKKzG5Ua5QP4267OBXp7yrgwox/cEV/AgtajwCvc1mMDSPflf9GvI+LuRbP5gyrSO9kFoz 9W83bTlO15u9K3yLVpc+aJ0ccLJXpjCdBDMYxbZbPxjkKBgjCEFl8w6uhsH8KjFdBpnqwj lFXPBKNVwDDT9PxzCtgBDvzTCSTchlw0qdVbmfc+uv28Cx9HvOxtV5cqluXR1CKFM2CdxF qR3utqyqOEggafOYQs5b2UngcNtMZulrP5yH+Um8ivhKzrGUUc9uFgbg9SPWyQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 3800612013; Sat, 19 Feb 2022 23:12:31 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 21JNCVJJ082446; Sat, 19 Feb 2022 23:12:31 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 21JNCVnM082445; Sat, 19 Feb 2022 23:12:31 GMT (envelope-from git) Date: Sat, 19 Feb 2022 23:12:31 GMT Message-Id: <202202192312.21JNCVnM082445@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Hans Petter Selasky Subject: git: f190f8d1a268 - main - snd_uaudio(4): Set hardware buffering to the minimum by default. List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: hselasky X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: f190f8d1a268aeb386830efa5aacf1c8f29f1230 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1645312351; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=DpFwDMwMQWVhoEfCEzwfMDk6sAAJKgFtKN2trYjD7jY=; b=HyrVaqSZZQW07IMluEQmiaK0dkZkDebf7B+2+0UzberpA9LbOVwh0CM+gsgyzL6Z/Jl0jU CkTMrGJ/hr3kjXxGofo4VID3/XeWJ66vhHVdZaf1jV0/dU8k1ZDQIwoanrftWiBSe1BMxe F6N4Pcmk3Gx3IagB/rIZVloiDK8/fDt3h3rxvf78m4XnI2IjYowQkBUagODOvkfSGNZTnq /UzHXQAP0IfzqiNjVpShqQ5lfmYQjKi+huDqU/5j7kdyKGiJNy+bqY8Ewv4di8mGDxzFoZ k7gnPQmoVwdBOKjV6MG2KKOQ+HZWvytPpDGPrPPn3xj3M9J2grehkv3Hchtb/g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1645312351; a=rsa-sha256; cv=none; b=QLLYmFY6WxmuT44aHBbO7womb/e9cyVlP7uOSYNfZCspig1huxMuhNU244Oe6QF9i9eTRH WEcN3JJ9lw4LNiPB7a8VPNXASBcO7TjBSsPWZrAg9E0KMDgyPWYc8IBFvm3cHK6+kHTUuc wIVhHD15LIAMFKEmKMaiFaUOrHDMCP/7idFl6eB3C3EpqdKxkCxr+xBXnQlwHukyQY/RDV AVmx3b8TFXx2EluO59Gm/eNyvHFAqOb4ruqkmv66JUS24YByWMQs44V/wTTT+L5kWY4m4e bvZUOa6JE1i2MNvnTf8BVzY12vut18xhZMH+hERExERNBVkYRFCogHw2OtoE5A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by hselasky: URL: https://cgit.FreeBSD.org/src/commit/?id=f190f8d1a268aeb386830efa5aacf1c8f29f1230 commit f190f8d1a268aeb386830efa5aacf1c8f29f1230 Author: Hans Petter Selasky AuthorDate: 2022-02-19 23:10:53 +0000 Commit: Hans Petter Selasky 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,