media/libsoundtouch/src/soundtouch_config.h

branch
TOR_BUG_9701
changeset 15
b8a032363ba2
equal deleted inserted replaced
-1:000000000000 0:bfbe943aacd9
1 #include "mozilla/SSE.h"
2
3 #ifdef MOZ_SAMPLE_TYPE_FLOAT32
4 #define SOUNDTOUCH_FLOAT_SAMPLES 1
5 #else
6 #define SOUNDTOUCH_INTEGER_SAMPLES 1
7 #endif
8
9 #ifndef MOZILLA_PRESUME_SSE
10 #ifdef MOZ_SAMPLE_TYPE_FLOAT32
11 #define SOUNDTOUCH_DISABLE_X86_OPTIMIZATIONS 1
12 #endif
13 #endif
14
15 #ifndef MOZILLA_PRESUME_MMX
16 #ifdef MOZ_SAMPLE_TYPE_S16
17 #define SOUNDTOUCH_DISABLE_X86_OPTIMIZATIONS 1
18 #endif
19 #endif

mercurial