Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Sep 2019 13:30:23 +0000 (UTC)
From:      Hans Petter Selasky <hselasky@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org
Subject:   svn commit: r352324 - stable/12/sys/dev/sound/pcm
Message-ID:  <201909141330.x8EDUNQ9034011@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: hselasky
Date: Sat Sep 14 13:30:22 2019
New Revision: 352324
URL: https://svnweb.freebsd.org/changeset/base/352324

Log:
  MFC r351847:
  Decrease the default audio playback latency to a maximum of 21.3ms.
  This significantly improves the audio playback response time.
  
  Discussed with:	mav@
  Sponsored by:	Mellanox Technologies

Modified:
  stable/12/sys/dev/sound/pcm/channel.h
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/sys/dev/sound/pcm/channel.h
==============================================================================
--- stable/12/sys/dev/sound/pcm/channel.h	Sat Sep 14 13:29:41 2019	(r352323)
+++ stable/12/sys/dev/sound/pcm/channel.h	Sat Sep 14 13:30:22 2019	(r352324)
@@ -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?201909141330.x8EDUNQ9034011>