Disable Sound Manager support on Mac OS X. SDL-1.2
authorRyan C. Gordon <icculus@icculus.org>
Sat, 12 Sep 2009 12:50:25 +0000
branchSDL-1.2
changeset 4184ed5913896653
parent 4183 39e748f251c6
child 4185 cb2d5514efb3
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.
configure.in
     1.1 --- a/configure.in	Sat Sep 12 06:25:36 2009 +0000
     1.2 +++ b/configure.in	Sat Sep 12 12:50:25 2009 +0000
     1.3 @@ -2626,8 +2626,6 @@
     1.4          if test x$enable_audio = xyes; then
     1.5              AC_DEFINE(SDL_AUDIO_DRIVER_COREAUDIO)
     1.6              SOURCES="$SOURCES $srcdir/src/audio/macosx/*.c"
     1.7 -            AC_DEFINE(SDL_AUDIO_DRIVER_SNDMGR)
     1.8 -            SOURCES="$SOURCES $srcdir/src/audio/macrom/*.c"
     1.9              have_audio=yes
    1.10          fi
    1.11          # Set up files for the joystick library