From 27ce3b3f51998b7bd8f25d7cb1c9cc1321ad6f31 Mon Sep 17 00:00:00 2001 From: MerryMage Date: Sun, 24 Apr 2016 14:18:30 +0100 Subject: Externals: Add soundtouch --- .gitmodules | 3 +++ CMakeLists.txt | 3 +++ externals/soundtouch | 1 + src/audio_core/CMakeLists.txt | 5 ++++- 4 files changed, 11 insertions(+), 1 deletion(-) create mode 160000 externals/soundtouch diff --git a/.gitmodules b/.gitmodules index 598e4c64d..059512902 100644 --- a/.gitmodules +++ b/.gitmodules @@ -7,3 +7,6 @@ [submodule "nihstro"] path = externals/nihstro url = https://github.com/neobrain/nihstro.git +[submodule "soundtouch"] + path = externals/soundtouch + url = https://github.com/citra-emu/soundtouch.git diff --git a/CMakeLists.txt b/CMakeLists.txt index 019321ad8..d628ecc50 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -249,6 +249,9 @@ if(ENABLE_QT) include_directories(externals/qhexedit) add_subdirectory(externals/qhexedit) endif() + +add_subdirectory(externals/soundtouch) + add_subdirectory(src) # Install freedesktop.org metadata files, following those specifications: diff --git a/externals/soundtouch b/externals/soundtouch new file mode 160000 index 000000000..5274ec4de --- /dev/null +++ b/externals/soundtouch @@ -0,0 +1 @@ +Subproject commit 5274ec4dec498bd88ccbcd28862a0f78a3b95eff diff --git a/src/audio_core/CMakeLists.txt b/src/audio_core/CMakeLists.txt index 869da5e83..c08ce69e0 100644 --- a/src/audio_core/CMakeLists.txt +++ b/src/audio_core/CMakeLists.txt @@ -16,6 +16,9 @@ set(HEADERS sink.h ) +include_directories(../../externals/soundtouch/include) + create_directory_groups(${SRCS} ${HEADERS}) -add_library(audio_core STATIC ${SRCS} ${HEADERS}) \ No newline at end of file +add_library(audio_core STATIC ${SRCS} ${HEADERS}) +target_link_libraries(audio_core SoundTouch) -- cgit v1.2.3