externals: Update SoundTouch to upstream. (#6451)
This commit is contained in:
parent
227926c1fa
commit
d16dce6d99
2
.gitmodules
vendored
2
.gitmodules
vendored
@ -6,7 +6,7 @@
|
||||
url = https://github.com/neobrain/nihstro.git
|
||||
[submodule "soundtouch"]
|
||||
path = externals/soundtouch
|
||||
url = https://github.com/citra-emu/ext-soundtouch.git
|
||||
url = https://codeberg.org/soundtouch/soundtouch.git
|
||||
[submodule "catch2"]
|
||||
path = externals/catch2
|
||||
url = https://github.com/catchorg/Catch2
|
||||
|
6
externals/CMakeLists.txt
vendored
6
externals/CMakeLists.txt
vendored
@ -104,9 +104,11 @@ target_include_directories(nihstro-headers INTERFACE ./nihstro/include)
|
||||
add_subdirectory(open_source_archives)
|
||||
|
||||
# SoundTouch
|
||||
|
||||
set(INTEGER_SAMPLES ON CACHE BOOL "")
|
||||
set(SOUNDSTRETCH OFF CACHE BOOL "")
|
||||
set(SOUNDTOUCH_DLL OFF CACHE BOOL "")
|
||||
add_subdirectory(soundtouch)
|
||||
# The SoundTouch target doesn't export the necessary include paths as properties by default
|
||||
target_include_directories(SoundTouch INTERFACE ./soundtouch/include)
|
||||
|
||||
# Teakra
|
||||
add_subdirectory(teakra EXCLUDE_FROM_ALL)
|
||||
|
2
externals/soundtouch
vendored
2
externals/soundtouch
vendored
@ -1 +1 @@
|
||||
Subproject commit 060181eaf273180d3a7e87349895bd0cb6ccbf4a
|
||||
Subproject commit 87263943999d98c1fefb2bc11d1589126af78e39
|
@ -39,6 +39,7 @@ create_target_directory_groups(audio_core)
|
||||
target_link_libraries(audio_core PUBLIC common)
|
||||
target_link_libraries(audio_core PRIVATE SoundTouch teakra)
|
||||
set_target_properties(audio_core PROPERTIES INTERPROCEDURAL_OPTIMIZATION ${ENABLE_LTO})
|
||||
add_definitions(-DSOUNDTOUCH_INTEGER_SAMPLES)
|
||||
|
||||
if(ENABLE_MF)
|
||||
target_sources(audio_core PRIVATE
|
||||
|
Loading…
Reference in New Issue
Block a user