diff options
author | Daniel Mack <zonque@users.sourceforge.net> | 2004-06-10 18:33:31 +0000 |
---|---|---|
committer | Daniel Mack <zonque@users.sourceforge.net> | 2004-06-10 18:33:31 +0000 |
commit | cc333dcfb5a81a9bf4c9ec9cca1edbd1ea1c1a54 (patch) | |
tree | fc6489163e3009531cfc965d13dc7cf4756b6d18 /configure.ac | |
parent | 6c08f95b6667c1dd96e3287f8c6a466b6825c6c9 (diff) | |
download | xine-lib-cc333dcfb5a81a9bf4c9ec9cca1edbd1ea1c1a54.tar.gz xine-lib-cc333dcfb5a81a9bf4c9ec9cca1edbd1ea1c1a54.tar.bz2 |
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
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 387968558..89573c0e5 100644 --- a/configure.ac +++ b/configure.ac @@ -666,6 +666,14 @@ AC_ARG_ENABLE(macosx_video, AC_HELP_STRING([--enable-macosx-video], [enable supp 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 "---" |