Bugfix: limit __SOFTFP__ switch usage only to Android

This commit is contained in:
oparviai 2015-05-18 15:25:07 +00:00
parent 5ad8994798
commit 83e46b5644

View File

@ -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