diff --git a/dep/soundtouch/CMakeLists.txt b/dep/soundtouch/CMakeLists.txt
index c7744c2f9..7d3984061 100644
--- a/dep/soundtouch/CMakeLists.txt
+++ b/dep/soundtouch/CMakeLists.txt
@@ -24,7 +24,7 @@ add_library(soundtouch
target_include_directories(soundtouch PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/include")
target_compile_definitions(soundtouch PRIVATE ${COMPILE_DEFINITIONS})
target_compile_options(soundtouch PRIVATE ${COMPILE_OPTIONS})
-target_compile_definitions(soundtouch PRIVATE SOUNDTOUCH_FLOAT_SAMPLES)
+target_compile_definitions(soundtouch PRIVATE SOUNDTOUCH_FLOAT_SAMPLES ST_NO_EXCEPTION_HANDLING=1)
if("${CPU_ARCH}" STREQUAL "aarch32" OR "${CPU_ARCH}" STREQUAL "aarch64")
target_compile_definitions(soundtouch PRIVATE SOUNDTOUCH_USE_NEON)
diff --git a/dep/soundtouch/soundtouch.vcxproj b/dep/soundtouch/soundtouch.vcxproj
index 33a1f0a3f..82c1bbebd 100644
--- a/dep/soundtouch/soundtouch.vcxproj
+++ b/dep/soundtouch/soundtouch.vcxproj
@@ -41,11 +41,11 @@
TurnOffAllWarnings
- SOUNDTOUCH_FLOAT_SAMPLES;%(PreprocessorDefinitions)
+ SOUNDTOUCH_FLOAT_SAMPLES;ST_NO_EXCEPTION_HANDLING=1;%(PreprocessorDefinitions)
SOUNDTOUCH_USE_NEON;%(PreprocessorDefinitions)
SOUNDTOUCH_ALLOW_SSE;%(PreprocessorDefinitions)
$(ProjectDir)include;$(ProjectDir)source;%(AdditionalIncludeDirectories)
-
\ No newline at end of file
+