diff -r 000000000000 -r 6474c204b198 media/libsoundtouch/src/soundtouch_config.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/media/libsoundtouch/src/soundtouch_config.h Wed Dec 31 06:09:35 2014 +0100 @@ -0,0 +1,19 @@ +#include "mozilla/SSE.h" + +#ifdef MOZ_SAMPLE_TYPE_FLOAT32 +#define SOUNDTOUCH_FLOAT_SAMPLES 1 +#else +#define SOUNDTOUCH_INTEGER_SAMPLES 1 +#endif + +#ifndef MOZILLA_PRESUME_SSE +#ifdef MOZ_SAMPLE_TYPE_FLOAT32 +#define SOUNDTOUCH_DISABLE_X86_OPTIMIZATIONS 1 +#endif +#endif + +#ifndef MOZILLA_PRESUME_MMX +#ifdef MOZ_SAMPLE_TYPE_S16 +#define SOUNDTOUCH_DISABLE_X86_OPTIMIZATIONS 1 +#endif +#endif