[xiph-commits] r17740 - in trunk/ao: . src/plugins/alsa

xiphmont at svn.xiph.org xiphmont at svn.xiph.org
Wed Dec 8 00:29:50 PST 2010


Author: xiphmont
Date: 2010-12-08 00:29:50 -0800 (Wed, 08 Dec 2010)
New Revision: 17740

Modified:
   trunk/ao/configure.ac
   trunk/ao/src/plugins/alsa/ao_alsa.c
Log:
don't allow AC_PROG_CC to clobber saved_cflags


Modified: trunk/ao/configure.ac
===================================================================
--- trunk/ao/configure.ac	2010-12-07 17:26:27 UTC (rev 17739)
+++ trunk/ao/configure.ac	2010-12-08 08:29:50 UTC (rev 17740)
@@ -29,6 +29,7 @@
 dnl Check for programs
 dnl ====================================
 
+cflags_save="$CFLAGS"
 AC_PROG_CC
 AC_LIBTOOL_WIN32_DLL
 AC_LIBTOOL_DLOPEN
@@ -48,7 +49,6 @@
 dnl Set some general compile options
 dnl ====================================
 
-cflags_save="$CFLAGS"
 if test -z "$GCC"; then
         case $host in
         *-*-irix*)

Modified: trunk/ao/src/plugins/alsa/ao_alsa.c
===================================================================
--- trunk/ao/src/plugins/alsa/ao_alsa.c	2010-12-07 17:26:27 UTC (rev 17739)
+++ trunk/ao/src/plugins/alsa/ao_alsa.c	2010-12-08 08:29:50 UTC (rev 17740)
@@ -41,7 +41,7 @@
 #include <ao/plugin.h>
 
 /* default 500 millisecond buffer */
-#define AO_ALSA_BUFFER_TIME 500000
+#define AO_ALSA_BUFFER_TIME 100000
 
 /* the period time is calculated if not given as an option */
 #define AO_ALSA_PERIOD_TIME 0



More information about the commits mailing list