Added CD Audio support for OpenAL.

Updated Scons & Makefiles to cope
This commit is contained in:
2004-04-02 13:15:18 +00:00
parent 51830fa0e2
commit 2ccb9cf785
8 changed files with 339 additions and 10 deletions

View File

@@ -24,12 +24,15 @@ soundsys_env.Append (CPPPATH = ['.',
'../moto/include',
'../string',
'dummy',
'openal'])
'openal',
'sdl'])
if user_options_dict['USE_OPENAL'] == 1:
source_files += ['openal/SND_OpenALDevice.cpp',
'openal/pthread_cancel.cpp']
'openal/pthread_cancel.cpp',
'sdl/SND_SDLCDDevice.cpp']
soundsys_env.Append (CPPPATH=user_options_dict['OPENAL_INCLUDE'])
soundsys_env.Append (CPPPATH=user_options_dict['SDL_INCLUDE'])
if user_options_dict['USE_FMOD'] == 1:
source_files += ['fmod/SND_FmodDevice.cpp']