Add native audio support (without SDL) from Nigel's Basilisk II port to MacOS X.

This commit is contained in:
gbeauche 2007-06-13 16:34:13 +00:00
parent b1900fbd06
commit 8da1a472ae
2 changed files with 9 additions and 0 deletions

View File

@ -74,6 +74,9 @@ links:
MacOSX/sys_darwin.cpp MacOSX/clip_macosx.cpp \ MacOSX/sys_darwin.cpp MacOSX/clip_macosx.cpp \
MacOSX/macos_util_macosx.h MacOSX/extfs_macosx.h \ MacOSX/macos_util_macosx.h MacOSX/extfs_macosx.h \
MacOSX/extfs_macosx.mm Windows/clip_windows.cpp \ MacOSX/extfs_macosx.mm Windows/clip_windows.cpp \
MacOSX/MacOSX_sound_if.cpp MacOSX/MacOSX_sound_if.h \
MacOSX/AudioBackEnd.cpp MacOSX/AudioBackEnd.h \
MacOSX/AudioDevice.cpp MacOSX/AudioDevice.h MacOSX/audio_macosx.cpp \
Windows/cd_defs.h Windows/cdenable Windows/extfs_windows.cpp \ Windows/cd_defs.h Windows/cdenable Windows/extfs_windows.cpp \
Windows/posix_emu.cpp Windows/posix_emu.h Windows/sys_windows.cpp \ Windows/posix_emu.cpp Windows/posix_emu.h Windows/sys_windows.cpp \
Windows/timer_windows.cpp Windows/util_windows.cpp \ Windows/timer_windows.cpp Windows/util_windows.cpp \

View File

@ -521,6 +521,9 @@ dnl Check for some MacOS X frameworks
AC_CHECK_FRAMEWORK(Carbon, [#include <Carbon/Carbon.h>]) AC_CHECK_FRAMEWORK(Carbon, [#include <Carbon/Carbon.h>])
AC_CHECK_FRAMEWORK(IOKit, [#include <IOKit/IOKitLib.h>]) AC_CHECK_FRAMEWORK(IOKit, [#include <IOKit/IOKitLib.h>])
AC_CHECK_FRAMEWORK(CoreFoundation, [#include <CoreFoundation/CoreFoundation.h>]) AC_CHECK_FRAMEWORK(CoreFoundation, [#include <CoreFoundation/CoreFoundation.h>])
AC_CHECK_FRAMEWORK(CoreAudio, [#include <CoreAudio/CoreAudio.h>])
AC_CHECK_FRAMEWORK(AudioUnit, [#include <AudioUnit/AudioUnit.h>])
AC_CHECK_FRAMEWORK(AudioToolbox, [#include <AudioToolbox/AudioToolbox.h>])
dnl Select system-dependant sources. dnl Select system-dependant sources.
SERIALSRC=serial_unix.cpp SERIALSRC=serial_unix.cpp
@ -558,6 +561,9 @@ darwin*)
if [[ "x$ac_cv_framework_Carbon" = "xyes" ]]; then if [[ "x$ac_cv_framework_Carbon" = "xyes" ]]; then
EXTFSSRC=../MacOSX/extfs_macosx.mm EXTFSSRC=../MacOSX/extfs_macosx.mm
fi fi
if [[ "x$ac_cv_framework_CoreAudio" = "xyes" ]]; then
AUDIOSRC="../MacOSX/audio_macosx.cpp ../MacOSX/AudioBackEnd.cpp ../MacOSX/AudioDevice.cpp ../MacOSX/MacOSX_sound_if.cpp"
fi
;; ;;
irix*) irix*)
AUDIOSRC=Irix/audio_irix.cpp AUDIOSRC=Irix/audio_irix.cpp