[xiph-commits] r18785 - trunk/postfish

xiphmont at svn.xiph.org xiphmont at svn.xiph.org
Thu Jan 24 17:50:22 PST 2013


Author: xiphmont
Date: 2013-01-24 17:50:22 -0800 (Thu, 24 Jan 2013)
New Revision: 18785

Modified:
   trunk/postfish/output.c
   trunk/postfish/version.h
Log:
Explicitly request a 50ms buffer latency from libao.  This is about double the current default in ao, but Pulse (surprise!) randomly refuses to work properly with a 20ms latency.



Modified: trunk/postfish/output.c
===================================================================
--- trunk/postfish/output.c	2013-01-25 00:56:47 UTC (rev 18784)
+++ trunk/postfish/output.c	2013-01-25 01:50:22 UTC (rev 18785)
@@ -572,7 +572,8 @@
      until one works */
   while(local_ch || local_bits>16){
     ao_sample_format format;
-    ao_option opt1={"dev",localdevice,0};
+    ao_option opt2={"buffer_time","50",0};
+    ao_option opt1={"dev",localdevice,&opt2};
     ao_option opt={"client_name","postfish",&opt1};
     if(!device)opt.next=0;
 

Modified: trunk/postfish/version.h
===================================================================
--- trunk/postfish/version.h	2013-01-25 00:56:47 UTC (rev 18784)
+++ trunk/postfish/version.h	2013-01-25 01:50:22 UTC (rev 18785)
@@ -1,2 +1,2 @@
 #define VERSION "$Id$ "
-/* DO NOT EDIT: Automated versioning hack [Thu Jan 24 18:55:29 EST 2013] */
+/* DO NOT EDIT: Automated versioning hack [Thu Jan 24 20:49:24 EST 2013] */



More information about the commits mailing list