summaryrefslogtreecommitdiffstats
path: root/media/libsoundtouch/src/soundtouch_config.h
diff options
context:
space:
mode:
Diffstat (limited to 'media/libsoundtouch/src/soundtouch_config.h')
-rw-r--r--media/libsoundtouch/src/soundtouch_config.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/media/libsoundtouch/src/soundtouch_config.h b/media/libsoundtouch/src/soundtouch_config.h
new file mode 100644
index 0000000000..469bb822af
--- /dev/null
+++ b/media/libsoundtouch/src/soundtouch_config.h
@@ -0,0 +1,7 @@
+#include "mozilla/SSE.h"
+
+#ifdef MOZ_SAMPLE_TYPE_FLOAT32
+#define SOUNDTOUCH_FLOAT_SAMPLES 1
+#else
+#define SOUNDTOUCH_INTEGER_SAMPLES 1
+#endif