summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorGuenter Bartsch <guenter@users.sourceforge.net>2001-07-26 19:12:21 +0000
committerGuenter Bartsch <guenter@users.sourceforge.net>2001-07-26 19:12:21 +0000
commitef274e552e7bc0cba8dc9879796d20a591969d19 (patch)
treecc56b803f30d9cbedbda5c236a0372b408a2c92f /configure.in
parent47c63bc46535f61eea6f036902fa1c37828e5bb8 (diff)
downloadxine-lib-ef274e552e7bc0cba8dc9879796d20a591969d19.tar.gz
xine-lib-ef274e552e7bc0cba8dc9879796d20a591969d19.tar.bz2
PPC patches by Bill Fink
CVS patchset: 355 CVS date: 2001/07/26 19:12:21
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'