Date: Thu, 5 Sep 2019 10:49:12 +0000 (UTC) From: Hans Petter Selasky <hselasky@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r351847 - head/sys/dev/sound/pcm Message-ID: <201909051049.x85AnCWT071768@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: hselasky Date: Thu Sep 5 10:49:12 2019 New Revision: 351847 URL: https://svnweb.freebsd.org/changeset/base/351847 Log: Decrease the default audio playback latency to a maximum of 21.3ms. This significantly improves the audio playback response time. Discussed with: mav@ MFC after: 1 week Sponsored by: Mellanox Technologies Modified: head/sys/dev/sound/pcm/channel.h Modified: head/sys/dev/sound/pcm/channel.h ============================================================================== --- head/sys/dev/sound/pcm/channel.h Thu Sep 5 09:57:20 2019 (r351846) +++ head/sys/dev/sound/pcm/channel.h Thu Sep 5 10:49:12 2019 (r351847) @@ -413,7 +413,7 @@ extern int report_soft_matrix; #define CHN_LATENCY_MIN 0 #define CHN_LATENCY_MAX 10 -#define CHN_LATENCY_DEFAULT 5 +#define CHN_LATENCY_DEFAULT 2 /* 21.3ms total buffering */ #define CHN_POLICY_MIN CHN_LATENCY_MIN #define CHN_POLICY_MAX CHN_LATENCY_MAX #define CHN_POLICY_DEFAULT CHN_LATENCY_DEFAULT
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201909051049.x85AnCWT071768>