From ab2b8ca91f427dfef88ec77653d58008b0a51126 Mon Sep 17 00:00:00 2001 From: Daniil Zakharov Date: Fri, 3 Dec 2021 02:42:45 +0300 Subject: [PATCH] Comment out _init_threading call in processFile function --- source/Android-lib/jni/soundtouch-jni.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/Android-lib/jni/soundtouch-jni.cpp b/source/Android-lib/jni/soundtouch-jni.cpp index f3f41cb..83cb446 100644 --- a/source/Android-lib/jni/soundtouch-jni.cpp +++ b/source/Android-lib/jni/soundtouch-jni.cpp @@ -234,7 +234,8 @@ extern "C" DLL_PUBLIC int Java_net_surina_soundtouch_SoundTouch_processFile(JNIE LOGV("JNI process file %s", inputFile); /// gomp_tls storage bug workaround - see comments in _init_threading() function! - if (_init_threading(true)) return -1; + // update: apparently this is not needed any more with concurrent Android SDKs + // if (_init_threading(true)) return -1; try {