diff options
author | Chris Robinson <[email protected]> | 2015-10-20 17:41:53 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2015-10-20 18:01:27 -0700 |
commit | 6689c61ff474657109c5a73827b8733aba7dfd45 (patch) | |
tree | 3c9a3371b1be3085ec4a298148bd45ebf495c44f /CMakeLists.txt | |
parent | d9a77a7edc309f399ce257f4b69d240008f47b49 (diff) |
Remove the MIDI code
The extension's not going anywhere, and it can't do anything fluidsynth can't.
The code maintenance and bloat is not worth keeping around, and ideally the AL
API would be able to facilitate MIDI-like behavior anyway (envelopes, start-at-
time, etc).
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 822649ef..db918de0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -560,11 +560,7 @@ SET(OPENAL_OBJS OpenAL32/alAuxEffectSlot.c OpenAL32/alError.c OpenAL32/alExtension.c OpenAL32/alFilter.c - OpenAL32/alFontsound.c OpenAL32/alListener.c - OpenAL32/alMidi.c - OpenAL32/alPreset.c - OpenAL32/alSoundfont.c OpenAL32/alSource.c OpenAL32/alState.c OpenAL32/alThunk.c @@ -601,8 +597,6 @@ SET(HAVE_SSE3 0) SET(HAVE_SSE4_1 0) SET(HAVE_NEON 0) -SET(HAVE_FLUIDSYNTH 0) - SET(HAVE_ALSA 0) SET(HAVE_OSS 0) SET(HAVE_SOLARIS 0) @@ -725,32 +719,6 @@ ELSE() ENDMACRO() ENDIF() -SET(ALC_OBJS ${ALC_OBJS} - Alc/midi/base.c - Alc/midi/sf2load.c - Alc/midi/dummy.c - Alc/midi/fluidsynth.c - Alc/midi/soft.c -) - -# Check for FluidSynth support -OPTION(ALSOFT_REQUIRE_FLUIDSYNTH "Require FluidSynth MIDI" OFF) -FIND_PACKAGE(FluidSynth) -IF(FLUIDSYNTH_FOUND) - OPTION(ALSOFT_MIDI_FLUIDSYNTH "Enable FluidSynth MIDI" ON) - IF(ALSOFT_MIDI_FLUIDSYNTH) - SET(HAVE_FLUIDSYNTH 1) - ADD_BACKEND_LIBS(${FLUIDSYNTH_LIBRARIES}) - IF(CMAKE_VERSION VERSION_LESS "2.8.8") - INCLUDE_DIRECTORIES(${FLUIDSYNTH_INCLUDE_DIR}) - ENDIF() - ENDIF() -ENDIF() -IF(ALSOFT_REQUIRE_FLUIDSYNTH AND NOT HAVE_FLUIDSYNTH) - MESSAGE(FATAL_ERROR "Failed to enabled required FluidSynth support") -ENDIF() - - SET(BACKENDS "") SET(ALC_OBJS ${ALC_OBJS} Alc/backends/base.c @@ -1084,9 +1052,6 @@ IF(WIN32 AND ALSOFT_NO_UID_DEFS) SET_PROPERTY(TARGET ${LIBNAME} APPEND PROPERTY COMPILE_DEFINITIONS AL_NO_UID_DEFS) ENDIF() SET_PROPERTY(TARGET ${LIBNAME} APPEND PROPERTY INCLUDE_DIRECTORIES "${OpenAL_SOURCE_DIR}/OpenAL32/Include" "${OpenAL_SOURCE_DIR}/Alc") -IF(FLUIDSYNTH_FOUND) - SET_PROPERTY(TARGET ${LIBNAME} APPEND PROPERTY INCLUDE_DIRECTORIES ${FLUIDSYNTH_INCLUDE_DIR}) -ENDIF() IF(HAVE_ALSA) SET_PROPERTY(TARGET ${LIBNAME} APPEND PROPERTY INCLUDE_DIRECTORIES ${ALSA_INCLUDE_DIRS}) ENDIF() @@ -1171,10 +1136,6 @@ MESSAGE(STATUS "") MESSAGE(STATUS "Building with support for CPU extensions:") MESSAGE(STATUS " ${CPU_EXTS}") MESSAGE(STATUS "") -IF(HAVE_FLUIDSYNTH) - MESSAGE(STATUS "FluidSynth support for ALC_SOFT_midi_interface enabled") - MESSAGE(STATUS "") -ENDIF() IF(WIN32) IF(NOT HAVE_DSOUND) |