summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorcoco875 <59367621+coco875@users.noreply.github.com>2025-02-04 23:15:21 +0100
committerGitHub <noreply@github.com>2025-02-04 16:15:21 -0600
commitddf9db7bb78fd276902f52487e0c04ce9c89772f (patch)
treea18cf0d884d96b6c1520c1fb4beb0308e582994d /CMakeLists.txt
parent4734a5ea068c6ed23f106324364da0332f65f0f8 (diff)
Sound optimisation (#150)
* add sse2neon and optimise aEnvMixerImpl * optimise aResampleImpl * optimise aMixImpl * optimise aADPCMdecImpl
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index ffe5a58f..525123b7 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -189,6 +189,12 @@ if (MSVC)
endif()
endif()
+#=================== SSE2NEON ===================
+set(SSE2NEON_DIR ${CMAKE_BINARY_DIR}/_deps/sse2neon)
+file(DOWNLOAD "https://raw.githubusercontent.com/DLTcollab/sse2neon/refs/heads/master/sse2neon.h" "${SSE2NEON_DIR}/sse2neon.h")
+
+include_directories(${SSE2NEON_DIR})
+
FetchContent_Declare(
dr_libs
GIT_REPOSITORY https://github.com/mackron/dr_libs.git