summaryrefslogtreecommitdiff
path: root/gst/volume/gstvolumeorc-dist.h
diff options
context:
space:
mode:
Diffstat (limited to 'gst/volume/gstvolumeorc-dist.h')
-rw-r--r--gst/volume/gstvolumeorc-dist.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/gst/volume/gstvolumeorc-dist.h b/gst/volume/gstvolumeorc-dist.h
index d7eedfc45..60ef6889c 100644
--- a/gst/volume/gstvolumeorc-dist.h
+++ b/gst/volume/gstvolumeorc-dist.h
@@ -67,6 +67,19 @@ typedef union { orc_int64 i; double f; orc_int32 x2[2]; float x2f[2]; orc_int16
#define ORC_RESTRICT
#endif
#endif
+
+#ifndef ORC_INTERNAL
+#if defined(__SUNPRO_C) && (__SUNPRO_C >= 0x590)
+#define ORC_INTERNAL __attribute__((visibility("hidden")))
+#elif defined(__SUNPRO_C) && (__SUNPRO_C >= 0x550)
+#define ORC_INTERNAL __hidden
+#elif defined (__GNUC__)
+#define ORC_INTERNAL __attribute__((visibility("hidden")))
+#else
+#define ORC_INTERNAL
+#endif
+#endif
+
void volume_orc_scalarmultiply_f64_ns (double * ORC_RESTRICT d1, double p1, int n);
void volume_orc_scalarmultiply_f32_ns (float * ORC_RESTRICT d1, float p1, int n);
void volume_orc_process_int32 (gint32 * ORC_RESTRICT d1, int p1, int n);