libsoundtouch/libsoundtouch-1.7.1-arm-float_samples.patch

13 lines
616 B
Diff
Raw Permalink Normal View History

diff -Nru soundtouch.orig/include/STTypes.h soundtouch/include/STTypes.h
--- soundtouch.orig/include/STTypes.h 2012-12-28 21:56:45.000000000 +0100
+++ soundtouch/include/STTypes.h 2013-02-03 14:07:56.840949154 +0100
@@ -78,7 +78,7 @@
//#undef SOUNDTOUCH_INTEGER_SAMPLES
//#undef SOUNDTOUCH_FLOAT_SAMPLES
- #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