From 83e46b5644fc1b1730650c0a72df126e2f94c11e Mon Sep 17 00:00:00 2001 From: oparviai Date: Mon, 18 May 2015 15:25:07 +0000 Subject: [PATCH] Bugfix: limit __SOFTFP__ switch usage only to Android --- include/STTypes.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/STTypes.h b/include/STTypes.h index e5633b9..7888c4e 100644 --- a/include/STTypes.h +++ b/include/STTypes.h @@ -75,7 +75,7 @@ namespace soundtouch /// runtime performance so recommendation is to keep this off. // #define USE_MULTICH_ALWAYS - #if (defined(__SOFTFP__)) + #if (defined(__SOFTFP__) && defined(ANDROID)) // For Android compilation: Force use of Integer samples in case that // compilation uses soft-floating point emulation - soft-fp is way too slow #undef SOUNDTOUCH_FLOAT_SAMPLES