aboutsummaryrefslogtreecommitdiffstats
path: root/wsutil/mpeg-audio.h
diff options
context:
space:
mode:
authorBalint Reczey <balint@balintreczey.hu>2013-02-28 14:09:46 +0000
committerBalint Reczey <balint@balintreczey.hu>2013-02-28 14:09:46 +0000
commit45c2884f1bbd9c06f7ba3091d968fcb6649a5f56 (patch)
treebb66eea36a288f1ab5e33468ee9bf2989339b2aa /wsutil/mpeg-audio.h
parent018ba4ea6584f63aa5c4b741c2e6f6fedc609ad2 (diff)
Export libwsutil symbols using WS_DLL_PUBLIC define
This change replaces *.def and *.sym file usage following the guideline at http://gcc.gnu.org/wiki/Visibility svn path=/trunk/; revision=47938
Diffstat (limited to 'wsutil/mpeg-audio.h')
-rw-r--r--wsutil/mpeg-audio.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/wsutil/mpeg-audio.h b/wsutil/mpeg-audio.h
index 23ee3465da..4d3ad68bc0 100644
--- a/wsutil/mpeg-audio.h
+++ b/wsutil/mpeg-audio.h
@@ -25,6 +25,8 @@
#ifndef MPA_H
#define MPA_H 1
+#include "ws_symbol_export.h"
+
struct mpa {
unsigned int emphasis :2;
unsigned int original :1;
@@ -71,11 +73,17 @@ struct mpa {
(mpa)->emphasis = MPA_UNMARSHAL_EMPHASIS(n); \
} while (0)
+WS_DLL_PUBLIC
int mpa_version(const struct mpa *);
+WS_DLL_PUBLIC
int mpa_layer(const struct mpa *);
+WS_DLL_PUBLIC
unsigned int mpa_samples(const struct mpa *);
+WS_DLL_PUBLIC
unsigned int mpa_bitrate(const struct mpa *);
+WS_DLL_PUBLIC
unsigned int mpa_frequency(const struct mpa *);
+WS_DLL_PUBLIC
unsigned int mpa_padding(const struct mpa *);
#define MPA_DATA_BYTES(mpa) (mpa_bitrate(mpa) * mpa_samples(mpa) \