summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in13
1 files changed, 13 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 70df6e43d..154914610 100644
--- a/configure.in
+++ b/configure.in
@@ -430,6 +430,7 @@ case $host in
ppc-*-linux-* | powerpc-*)
GLOBAL_CFLAGS="$GLOBAL_CFLAGS -O3 -pipe -fomit-frame-pointer $m_wm $m_psb -fexpensive-optimizations $f_si $f_nsa -ffast-math -funroll-loops -funroll-all-loops -finline-functions"
DEBUG_CFLAGS="$DEBUG_CFLAGS -O3"
+ FORCE_44K_MAX=yes
;;
sparc64-*-linux-* | sparc-*)
dnl hard code cpu target as sparcv8, hopefully no one wants to watch
@@ -508,6 +509,18 @@ AC_SUBST(w32_path)
dnl
+dnl Force 44.1K maximum audio sample rate for drivers/devices that don't
+dnl correctly handle 48K rates, e.g. PowerMac dmasound through at least
+dnl early 2.4.*. Will need dynamic test once fix makes it into source
+dnl trees.
+dnl
+if test x$FORCE_44K_MAX = xyes; then
+ echo "including FORCE_44K_MAX capping"
+ AC_DEFINE(FORCE_44K_MAX,1,[Cap audio sample rate at 44.1K, some drivers (dmasound) don't handle 48K request correctly])
+fi
+
+
+dnl
dnl Some include paths ( !!! DO NOT REMOVE !!! )
dnl
INCLUDES='-I$(top_srcdir) -I$(top_builddir) -I$(top_srcdir)/src -I$(top_builddir)/src -I$(top_srcdir)/src/xine-engine -I$(top_builddir)/src/xine-engine'