mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-24 15:01:16 +01:00
Use SOUNDTOUCH_INTEGER_SAMPLES only on Android build. Some audio backends (i.e. OpenAL) only support floating-point samples.
This commit is contained in:
parent
9365187f89
commit
a031351eb2
2
Externals/soundtouch/STTypes.h
vendored
2
Externals/soundtouch/STTypes.h
vendored
@ -80,7 +80,7 @@ namespace soundtouch
|
|||||||
#undef SOUNDTOUCH_INTEGER_SAMPLES
|
#undef SOUNDTOUCH_INTEGER_SAMPLES
|
||||||
#undef SOUNDTOUCH_FLOAT_SAMPLES
|
#undef SOUNDTOUCH_FLOAT_SAMPLES
|
||||||
|
|
||||||
#if (defined(__SOFTFP__))
|
#if (defined(ANDROID) && defined(__SOFTFP__))
|
||||||
// For Android compilation: Force use of Integer samples in case that
|
// For Android compilation: Force use of Integer samples in case that
|
||||||
// compilation uses soft-floating point emulation - soft-fp is way too slow
|
// compilation uses soft-floating point emulation - soft-fp is way too slow
|
||||||
#undef SOUNDTOUCH_FLOAT_SAMPLES
|
#undef SOUNDTOUCH_FLOAT_SAMPLES
|
||||||
|
Loading…
x
Reference in New Issue
Block a user