From a031351eb2cfe635b4970ebcf24b547c3190e16d Mon Sep 17 00:00:00 2001 From: calc84maniac Date: Tue, 7 May 2013 23:22:28 -0400 Subject: [PATCH] Use SOUNDTOUCH_INTEGER_SAMPLES only on Android build. Some audio backends (i.e. OpenAL) only support floating-point samples. --- Externals/soundtouch/STTypes.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Externals/soundtouch/STTypes.h b/Externals/soundtouch/STTypes.h index 9855939119..39bc68bd69 100644 --- a/Externals/soundtouch/STTypes.h +++ b/Externals/soundtouch/STTypes.h @@ -80,7 +80,7 @@ namespace soundtouch #undef SOUNDTOUCH_INTEGER_SAMPLES #undef SOUNDTOUCH_FLOAT_SAMPLES - #if (defined(__SOFTFP__)) + #if (defined(ANDROID) && defined(__SOFTFP__)) // 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