Added audio time stretching by using the SoundTouch library.

This commit is contained in:
skidau
2013-01-09 22:57:32 +11:00
parent c8c78e0aa9
commit 63b38be97c
32 changed files with 6520 additions and 38 deletions

View File

@ -452,6 +452,17 @@ else()
include_directories(Externals/SOIL)
endif()
if(NOT ${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
check_lib(SoundTouch SoundTouch SoundTouch.h QUIET)
endif()
if(SOUNDTOUCH_FOUND)
message("Using shared SoundTouch")
else()
message("Using static SoundTouch from Externals")
add_subdirectory(Externals/SoundTouch)
include_directories(Externals/SoundTouch)
endif()
# If zlib has already been found on a previous run of cmake don't check again
# as the check seems to take a long time.
if(NOT ZLIB_FOUND)