freebsd-ports/multimedia/gstreamer1-plugins/files/patch-gst_audioresample_speex-resampler-double.c
Koop Mast 05d2886d27 Add Gstreamer 1.0.7. This is the new stable version of the
Gstreamer multimedia framework.

Use the USE_GSTREAMER1 macro to select Gstreamer 1.0 plugins. A new chapter
for the porters handbook about gstreamer is a work in progress.

X related plugins are now stand alone. The gio plugin is now part of the
gstreamer1-plugins port and the oss plugins are now part of the
gstreamer1-plugins-good port.

Note that the pulseaudio plugin is missing because it needs a newer version
of pulseaudio. Also there are still a number of plugins from -bad which
haven't been ported to the 1.0 API yet.
2013-04-27 20:56:38 +00:00

21 lines
475 B
C

--- gst/audioresample/speex_resampler_double.c.orig 2012-06-28 10:31:31.000000000 +0200
+++ gst/audioresample/speex_resampler_double.c 2012-06-28 10:33:01.000000000 +0200
@@ -17,7 +17,18 @@
* Boston, MA 02111-1307, USA.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#ifdef _USE_SSE
+#ifndef HAVE_XMMINTRIN_H
+#undef _USE_SSE
+#undef _USE_SSE2
+#else
#define _USE_SSE2
+#endif
+#endif
#define FLOATING_POINT
#define DOUBLE_PRECISION
#define OUTSIDE_SPEEX