michael@0: #include "mozilla/SSE.h" michael@0: michael@0: #ifdef MOZ_SAMPLE_TYPE_FLOAT32 michael@0: #define SOUNDTOUCH_FLOAT_SAMPLES 1 michael@0: #else michael@0: #define SOUNDTOUCH_INTEGER_SAMPLES 1 michael@0: #endif michael@0: michael@0: #ifndef MOZILLA_PRESUME_SSE michael@0: #ifdef MOZ_SAMPLE_TYPE_FLOAT32 michael@0: #define SOUNDTOUCH_DISABLE_X86_OPTIMIZATIONS 1 michael@0: #endif michael@0: #endif michael@0: michael@0: #ifndef MOZILLA_PRESUME_MMX michael@0: #ifdef MOZ_SAMPLE_TYPE_S16 michael@0: #define SOUNDTOUCH_DISABLE_X86_OPTIMIZATIONS 1 michael@0: #endif michael@0: #endif