new MixSDL mixer module for SDL_audio (experimental)

git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@580 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
avolkov
2003-01-26 05:54:10 +00:00
parent 08710150e6
commit 2fa754d872
42 changed files with 15788 additions and 1 deletions
+9 -1
View File
@@ -74,7 +74,7 @@ graphics_opengl_action() {
}
CHOICE_graphics_DEFAULT=opengl
CHOICE_sound_OPTIONS="SDL_mixer openal"
CHOICE_sound_OPTIONS="SDL_mixer openal mixsdl"
CHOICE_sound_TITLE="Sound backend"
CHOICE_sound_OPTION_SDL_mixer_TITLE="Use SDL_mixer for sound"
CHOICE_sound_OPTION_SDL_mixer_PRECOND="have_library SDL_mixer"
@@ -94,6 +94,14 @@ sound_openal_action() {
use_library vorbisfile
# use_library vorbis
}
CHOICE_sound_OPTION_mixsdl_TITLE="Use MixSDL for sound (experimental)"
CHOICE_sound_OPTION_mixsdl_ACTION=sound_mixsdl_action
sound_mixsdl_action() {
CFLAGS="$CFLAGS -DSOUNDMODULE_MIXSDL"
SOUNDMODULE=mixsdl
use_library vorbisfile
# use_library vorbis
}
CHOICE_sound_DEFAULT=SDL_mixer
CHOICE_link_OPTIONS="static dynamic"