summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2016-04-28 15:45:15 +0200
committerbunnei <bunneidev@gmail.com>2016-04-28 15:45:15 +0200
commit2f76dc6758787289c45ebb4f66a869a0fc1b6bd5 (patch)
tree704d358a9779e6b2e935aaaec3e7fc84e9ee315d
parentMerge pull request #1708 from MerryMage/dsp_dsp (diff)
parentExternals: Add soundtouch (diff)
downloadyuzu-2f76dc6758787289c45ebb4f66a869a0fc1b6bd5.tar
yuzu-2f76dc6758787289c45ebb4f66a869a0fc1b6bd5.tar.gz
yuzu-2f76dc6758787289c45ebb4f66a869a0fc1b6bd5.tar.bz2
yuzu-2f76dc6758787289c45ebb4f66a869a0fc1b6bd5.tar.lz
yuzu-2f76dc6758787289c45ebb4f66a869a0fc1b6bd5.tar.xz
yuzu-2f76dc6758787289c45ebb4f66a869a0fc1b6bd5.tar.zst
yuzu-2f76dc6758787289c45ebb4f66a869a0fc1b6bd5.zip
-rw-r--r--.gitmodules3
-rw-r--r--CMakeLists.txt3
m---------externals/soundtouch0
-rw-r--r--src/audio_core/CMakeLists.txt5
4 files changed, 10 insertions, 1 deletions
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
+Subproject 5274ec4dec498bd88ccbcd28862a0f78a3b95ef
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)