Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Use SOUNDTOUCH_INTEGER_SAMPLES only on Android build. Some audio back…
…ends (i.e. OpenAL) only support floating-point samples.
  • Loading branch information
calc84maniac committed May 8, 2013
1 parent 9365187 commit a031351
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Externals/soundtouch/STTypes.h
Expand Up @@ -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
Expand Down

0 comments on commit a031351

Please sign in to comment.