mirror of
https://github.com/kanjitalk755/macemu.git
synced 2024-11-26 10:49:21 +00:00
Add native audio support (without SDL) from Nigel's Basilisk II port to MacOS X.
This commit is contained in:
parent
b1900fbd06
commit
8da1a472ae
@ -74,6 +74,9 @@ links:
|
||||
MacOSX/sys_darwin.cpp MacOSX/clip_macosx.cpp \
|
||||
MacOSX/macos_util_macosx.h MacOSX/extfs_macosx.h \
|
||||
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/posix_emu.cpp Windows/posix_emu.h Windows/sys_windows.cpp \
|
||||
Windows/timer_windows.cpp Windows/util_windows.cpp \
|
||||
|
@ -521,6 +521,9 @@ dnl Check for some MacOS X frameworks
|
||||
AC_CHECK_FRAMEWORK(Carbon, [#include <Carbon/Carbon.h>])
|
||||
AC_CHECK_FRAMEWORK(IOKit, [#include <IOKit/IOKitLib.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.
|
||||
SERIALSRC=serial_unix.cpp
|
||||
@ -558,6 +561,9 @@ darwin*)
|
||||
if [[ "x$ac_cv_framework_Carbon" = "xyes" ]]; then
|
||||
EXTFSSRC=../MacOSX/extfs_macosx.mm
|
||||
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*)
|
||||
AUDIOSRC=Irix/audio_irix.cpp
|
||||
|
Loading…
Reference in New Issue
Block a user