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
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to