Disable Sound Manager support on Mac OS X.

It's an OS 9 API that was exposed via Carbon, but is gone in the 10.6 SDK.
 OS X uses CoreAudio. We only had it in here for debugging purposes anyhow,
 as SDL would never use it unless forced to with an environment variable.

It remains in SDL for OS 9, of course.

--HG--
branch : SDL-1.2
This commit is contained in:
Ryan C. Gordon
2009-09-12 12:50:25 +00:00
parent 864f66cf6b
commit 2dfc83ffc3

View File

@@ -2626,8 +2626,6 @@ case "$host" in
if test x$enable_audio = xyes; then
AC_DEFINE(SDL_AUDIO_DRIVER_COREAUDIO)
SOURCES="$SOURCES $srcdir/src/audio/macosx/*.c"
AC_DEFINE(SDL_AUDIO_DRIVER_SNDMGR)
SOURCES="$SOURCES $srcdir/src/audio/macrom/*.c"
have_audio=yes
fi
# Set up files for the joystick library