From cc333dcfb5a81a9bf4c9ec9cca1edbd1ea1c1a54 Mon Sep 17 00:00:00 2001 From: Daniel Mack Date: Thu, 10 Jun 2004 18:33:31 +0000 Subject: Added CoreAudio support for native sound output on MacOSX. It makes use of Apple's brand new AudioUnit and is coded in plain C, not Objective-C, so it should not break anything. See http://developer.apple.com/technotes/tn2002/tn2091.html and http://developer.apple.com/documentation/MusicAudio/Reference/CoreAudio/index.html for conceptual documentation about this framework. There is a new configure-flag now called '--enable-coreaudio' which enables the built of this module, the default is not to build it on any platform. So far, only stereo output on the default device is supported, but this might change in future updates. I did my best to keep to xine's coding style, please let me know if I did something wrong. CVS patchset: 6666 CVS date: 2004/06/10 18:33:31 --- configure.ac | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 387968558..89573c0e5 100644 --- a/configure.ac +++ b/configure.ac @@ -665,6 +665,14 @@ AC_ARG_ENABLE(macosx_video, AC_HELP_STRING([--enable-macosx-video], [enable supp have_macosx_video=$enableval) AM_CONDITIONAL(HAVE_MACOSX_VIDEO, [test x"$have_macosx_video" = "xyes"]) +dnl --------------------------------------------- +dnl Check whether to build MacOSX audio output driver +dnl --------------------------------------------- + +AC_ARG_ENABLE(coreaudio, AC_HELP_STRING([--enable-coreaudio], [enable support for MacOSX Coreaudio output]), + have_coreaudio=$enableval) +AM_CONDITIONAL(HAVE_COREAUDIO, [test x"$have_coreaudio" = "xyes"]) + dnl --------------------------------------------- dnl Find pkg-config dnl --------------------------------------------- @@ -2378,6 +2386,9 @@ fi if test x"$have_directx" = "xyes"; then echo " - directx (DirectX audio driver)" fi +if test x"$have_coreaudio" = "xyes"; then + echo " - CoreAudio (MacOSX audio driver)" +fi echo "---" -- cgit v1.2.3