Commit e5b6b790 authored by smorlat's avatar smorlat
Browse files

set audio queue the default on mac.

git-svn-id: svn+ssh://svn.savannah.nongnu.org/linphone/trunk@612 3f6dc0c8-ddfe-455d-9043-3cd528dc4637
parent 01623774
...@@ -321,7 +321,7 @@ AC_SUBST(PORTAUDIO_LIBS) ...@@ -321,7 +321,7 @@ AC_SUBST(PORTAUDIO_LIBS)
AM_CONDITIONAL(BUILD_PORTAUDIO, test x$portaudio_enabled = xtrue) AM_CONDITIONAL(BUILD_PORTAUDIO, test x$portaudio_enabled = xtrue)
AC_ARG_ENABLE(macsnd, AC_ARG_ENABLE(macsnd,
[ --enable-macsnd Turn on native macosx sound support], [ --enable-macsnd Turn on native macosx sound support (default=no)],
[case "${enableval}" in [case "${enableval}" in
yes) macsnd=true ;; yes) macsnd=true ;;
no) macsnd=false ;; no) macsnd=false ;;
...@@ -337,20 +337,23 @@ fi ...@@ -337,20 +337,23 @@ fi
AM_CONDITIONAL(BUILD_MACSND, test x$macsnd_enabled = xtrue) AM_CONDITIONAL(BUILD_MACSND, test x$macsnd_enabled = xtrue)
AC_ARG_ENABLE(macaqsnd, AC_ARG_ENABLE(macaqsnd,
[ --enable-macaqsnd Turn on native macosx Audio Queue sound support], [ --enable-macaqsnd Turn on native macosx Audio Queue sound support (default=yes)],
[case "${enableval}" in [case "${enableval}" in
yes) macaqsnd=true ;; yes) macaqsnd=true ;;
no) macaqsnd=false ;; no) macaqsnd=false ;;
*) AC_MSG_ERROR(bad value ${enableval} for --enable-macaqsnd) ;; *) AC_MSG_ERROR(bad value ${enableval} for --enable-macaqsnd) ;;
esac],[macaqsnd=false]) esac],[macaqsnd=yes])
if test "$macosx_found" != "yes" ; then
macaqsnd=false
fi
if test "$macaqsnd" = "true"; then if test "$macaqsnd" = "true"; then
AC_DEFINE(__MAC_AQ_ENABLED__,1,[defined if native macosx AQ sound support is available]) AC_DEFINE(__MAC_AQ_ENABLED__,1,[defined if native macosx AQ sound support is available])
macaqsnd_enabled=true
found_sound=yes found_sound=yes
fi fi
AM_CONDITIONAL(BUILD_MACAQSND, test x$macaqsnd_enabled = xtrue) AM_CONDITIONAL(BUILD_MACAQSND, test x$macaqsnd = xtrue)
AC_ARG_ENABLE(jack, AC_ARG_ENABLE(jack,
[ --disable-jack Disable jack support], [ --disable-jack Disable jack support],
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment