summaryrefslogtreecommitdiff
path: root/gst/audioresample/speex_resampler_double.c
diff options
context:
space:
mode:
authorVincent Penquerc'h <vincent.penquerch@collabora.co.uk>2011-08-11 15:54:15 +0100
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2011-08-12 09:55:11 +0200
commit746415a6e3a40d4d688aa25bcbb7062b54dfd4a8 (patch)
tree0e8ad75b2414438d917668fc82a77252968683ed /gst/audioresample/speex_resampler_double.c
parent58fd202b7d5cb0e734713be153cca63330ba87e0 (diff)
audioresample: use SSE/SSE2 when possible
Compile in the code on i386 and x86_64, and use ORC to determine when the runtime platform can run the code. https://bugzilla.gnome.org/show_bug.cgi?id=636562
Diffstat (limited to 'gst/audioresample/speex_resampler_double.c')
-rw-r--r--gst/audioresample/speex_resampler_double.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gst/audioresample/speex_resampler_double.c b/gst/audioresample/speex_resampler_double.c
index e5a25714c..ef2503d60 100644
--- a/gst/audioresample/speex_resampler_double.c
+++ b/gst/audioresample/speex_resampler_double.c
@@ -17,6 +17,7 @@
* Boston, MA 02111-1307, USA.
*/
+#define _USE_SSE2
#define FLOATING_POINT
#define DOUBLE_PRECISION
#define OUTSIDE_SPEEX