media/libsoundtouch/src/soundtouch_config.h

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

     1 #include "mozilla/SSE.h"
     3 #ifdef MOZ_SAMPLE_TYPE_FLOAT32
     4 #define SOUNDTOUCH_FLOAT_SAMPLES 1
     5 #else
     6 #define SOUNDTOUCH_INTEGER_SAMPLES 1
     7 #endif
     9 #ifndef MOZILLA_PRESUME_SSE
    10 #ifdef MOZ_SAMPLE_TYPE_FLOAT32
    11 #define SOUNDTOUCH_DISABLE_X86_OPTIMIZATIONS 1
    12 #endif
    13 #endif
    15 #ifndef MOZILLA_PRESUME_MMX
    16 #ifdef MOZ_SAMPLE_TYPE_S16
    17 #define SOUNDTOUCH_DISABLE_X86_OPTIMIZATIONS 1
    18 #endif
    19 #endif

mercurial