Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Sep 2019 13:31:07 +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-11@freebsd.org
Subject:   svn commit: r352326 - stable/11/sys/dev/sound/pcm
Message-ID:  <201909141331.x8EDV7xH036402@repo.freebsd.org>

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

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/11/sys/dev/sound/pcm/channel.h
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/dev/sound/pcm/channel.h
==============================================================================
--- stable/11/sys/dev/sound/pcm/channel.h	Sat Sep 14 13:30:53 2019	(r352325)
+++ stable/11/sys/dev/sound/pcm/channel.h	Sat Sep 14 13:31:07 2019	(r352326)
@@ -411,7 +411,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?201909141331.x8EDV7xH036402>