media/libsoundtouch/src/soundtouch_config.h

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/media/libsoundtouch/src/soundtouch_config.h	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,19 @@
     1.4 +#include "mozilla/SSE.h"
     1.5 +
     1.6 +#ifdef MOZ_SAMPLE_TYPE_FLOAT32
     1.7 +#define SOUNDTOUCH_FLOAT_SAMPLES 1
     1.8 +#else
     1.9 +#define SOUNDTOUCH_INTEGER_SAMPLES 1
    1.10 +#endif
    1.11 +
    1.12 +#ifndef MOZILLA_PRESUME_SSE
    1.13 +#ifdef MOZ_SAMPLE_TYPE_FLOAT32
    1.14 +#define SOUNDTOUCH_DISABLE_X86_OPTIMIZATIONS 1
    1.15 +#endif
    1.16 +#endif
    1.17 +
    1.18 +#ifndef MOZILLA_PRESUME_MMX
    1.19 +#ifdef MOZ_SAMPLE_TYPE_S16
    1.20 +#define SOUNDTOUCH_DISABLE_X86_OPTIMIZATIONS 1
    1.21 +#endif
    1.22 +#endif

mercurial