fft: mark symbols explicitly for export with GST_EXPORT
authorTim-Philipp Müller <tim@centricular.com>
Mon, 15 May 2017 23:45:47 +0000 (00:45 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Tue, 16 May 2017 14:22:30 +0000 (15:22 +0100)
gst-libs/gst/fft/gstfft.h
gst-libs/gst/fft/gstfftf32.h
gst-libs/gst/fft/gstfftf64.h
gst-libs/gst/fft/gstffts16.h
gst-libs/gst/fft/gstffts32.h

index 5f99de7a2207eb207c5bbe4446b3da28a69c1b77..b496078fb8a4828325c656f4c8ae9ad12450a5fa 100644 (file)
@@ -19,6 +19,7 @@
 
 #include <glib.h>
 #include <math.h>
+#include <gst/gst.h>
 
 #ifndef __GST_FFT_H__
 #define __GST_FFT_H__
@@ -46,6 +47,7 @@ typedef enum
 
 /* Functions */
 
+GST_EXPORT
 gint gst_fft_next_fast_length (gint n) G_GNUC_CONST;
 
 G_END_DECLS
index 65d29eaf41d986ccd857df8cb172d548cf96fae7..262c23f5ae9488c2097f26c80a49a3a2b8e7dafc 100644 (file)
@@ -48,14 +48,22 @@ struct _GstFFTF32Complex
 };
 
 /* Functions */
+
+GST_EXPORT
 GstFFTF32 *   gst_fft_f32_new           (gint len, gboolean inverse);
+
+GST_EXPORT
 void          gst_fft_f32_free          (GstFFTF32 *self);
 
+GST_EXPORT
 void          gst_fft_f32_fft           (GstFFTF32 *self, const gfloat *timedata,
                                          GstFFTF32Complex *freqdata);
+
+GST_EXPORT
 void          gst_fft_f32_inverse_fft   (GstFFTF32 *self, const GstFFTF32Complex *freqdata,
                                          gfloat *timedata);
 
+GST_EXPORT
 void          gst_fft_f32_window        (GstFFTF32 *self, gfloat *timedata, GstFFTWindow window);
 
 G_END_DECLS
index 6159a58fd3cc9a9b12ca43b4e93ceed4a1f488b8..c03a6bd7d51d2efa6a8dda4d4ba408cb4de9e758 100644 (file)
@@ -48,14 +48,22 @@ struct _GstFFTF64Complex
 };
 
 /* Functions */
+
+GST_EXPORT
 GstFFTF64 *     gst_fft_f64_new         (gint len, gboolean inverse);
+
+GST_EXPORT
 void            gst_fft_f64_free        (GstFFTF64 *self);
 
+GST_EXPORT
 void            gst_fft_f64_fft         (GstFFTF64 *self, const gdouble *timedata,
                                          GstFFTF64Complex *freqdata);
+
+GST_EXPORT
 void            gst_fft_f64_inverse_fft (GstFFTF64 *self, const GstFFTF64Complex *freqdata,
                                          gdouble *timedata);
 
+GST_EXPORT
 void            gst_fft_f64_window      (GstFFTF64 *self, gdouble *timedata, GstFFTWindow window);
 
 G_END_DECLS
index 5ee79f26411ed8aa410b5bcf6fcfd8d05efc276e..daaaf6880f3c992fbb25b59dc6d4d6fc5a72b7b1 100644 (file)
@@ -48,14 +48,22 @@ struct _GstFFTS16Complex
 };
 
 /* Functions */
+
+GST_EXPORT
 GstFFTS16 *     gst_fft_s16_new         (gint len, gboolean inverse);
+
+GST_EXPORT
 void            gst_fft_s16_free        (GstFFTS16 *self);
 
+GST_EXPORT
 void            gst_fft_s16_fft         (GstFFTS16 *self, const gint16 *timedata,
                                          GstFFTS16Complex *freqdata);
+
+GST_EXPORT
 void            gst_fft_s16_inverse_fft (GstFFTS16 *self, const GstFFTS16Complex *freqdata,
                                          gint16 *timedata);
 
+GST_EXPORT
 void            gst_fft_s16_window      (GstFFTS16 *self, gint16 *timedata, GstFFTWindow window);
 
 G_END_DECLS
index 503643dce66b9e23e6053cf1d426b17b823fb8c7..c9512af747d33716584e8d8cb5b7aa8d00f57e0a 100644 (file)
@@ -48,14 +48,22 @@ struct _GstFFTS32Complex
 };
 
 /* Functions */
+
+GST_EXPORT
 GstFFTS32 *     gst_fft_s32_new         (gint len, gboolean inverse);
+
+GST_EXPORT
 void            gst_fft_s32_free        (GstFFTS32 *self);
 
+GST_EXPORT
 void            gst_fft_s32_fft         (GstFFTS32 *self, const gint32 *timedata,
                                          GstFFTS32Complex *freqdata);
+
+GST_EXPORT
 void            gst_fft_s32_inverse_fft (GstFFTS32 *self, const GstFFTS32Complex *freqdata,
                                          gint32 *timedata);
 
+GST_EXPORT
 void            gst_fft_s32_window      (GstFFTS32 *self, gint32 *timedata, GstFFTWindow window);
 
 G_END_DECLS