Commit 24d40f10 authored by Simon Morlat's avatar Simon Morlat

new audio unit based filter for macosx.

parent 1a46e05b
......@@ -335,42 +335,42 @@ AC_SUBST(PORTAUDIO_LIBS)
AM_CONDITIONAL(BUILD_PORTAUDIO, test x$portaudio_enabled = xtrue)
AC_ARG_ENABLE(macsnd,
[ --enable-macsnd Turn on native macosx sound support (default=no)],
[ --enable-macsnd Turn on Audio Units macosx sound support (default=yes)],
[case "${enableval}" in
yes) macsnd=true ;;
no) macsnd=false ;;
*) AC_MSG_ERROR(bad value ${enableval} for --enable-macsnd) ;;
esac],[macsnd=false])
if test "$macsnd" = "true"; then
AC_DEFINE(__MACSND_ENABLED__,1,[defined if native macosx sound support is available])
macsnd_enabled=true
found_sound=yes
fi
AM_CONDITIONAL(BUILD_MACSND, test x$macsnd_enabled = xtrue)
esac],[macsnd=true])
AC_ARG_ENABLE(macaqsnd,
[ --enable-macaqsnd Turn on native macosx Audio Queue sound support (default=yes)],
[ --enable-macaqsnd Turn on native macosx Audio Queue sound support (default=no)],
[case "${enableval}" in
yes) macaqsnd=true ;;
no) macaqsnd=false ;;
*) AC_MSG_ERROR(bad value ${enableval} for --enable-macaqsnd) ;;
esac],[macaqsnd=true])
if test "$macosx_found" != "yes" ; then
macaqsnd=false
fi
if test "$macaqsnd" = "true"; then
AC_DEFINE(__MAC_AQ_ENABLED__,1,[defined if native macosx AQ sound support is available])
found_sound=yes
if test "$macosx_found" = "yes" ; then
if test "$macsnd" = "true"; then
AC_DEFINE(__MACSND_ENABLED__,1,[defined if native macosx sound support is available])
macsnd_enabled=true
found_sound=yes
fi
if test "$macaqsnd" = "true"; then
AC_DEFINE(__MAC_AQ_ENABLED__,1,[defined if native macosx AQ sound support is available])
found_sound=yes
macaqsnd=true
fi
fi
AM_CONDITIONAL(BUILD_MACSND, test x$macsnd_enabled = xtrue)
AM_CONDITIONAL(BUILD_MACAQSND, test x$macaqsnd = xtrue)
AC_ARG_ENABLE(iounit,
[ --enable-iounit Turn on native apple iounit support (default=no)],
[ --enable-iounit Turn on native iOS audio unit support (default=no)],
[case "${enableval}" in
yes) iounit=true ;;
no) iounit=false ;;
......
This diff is collapsed.
......@@ -100,7 +100,7 @@ const MSList * ms_snd_card_manager_get_list(MSSndCardManager *m){
}
void ms_snd_card_manager_add_card(MSSndCardManager *m, MSSndCard *c){
ms_message("Card %s added",ms_snd_card_get_string_id(c));
ms_message("Card '%s' added",ms_snd_card_get_string_id(c));
m->cards=ms_list_append(m->cards,c);
}
......
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