aboutsummaryrefslogtreecommitdiffstats
path: root/mediaplugin/src
diff options
context:
space:
mode:
authortobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c>2010-11-12 16:50:42 +0000
committertobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c>2010-11-12 16:50:42 +0000
commit851cba18e77b60bd2195dea1228a70176a1b81c2 (patch)
treed1948fe3bed10f817b5436a512eed519ed6f4f31 /mediaplugin/src
parent79fc59e900feeed876646aec86dedd62d0e1197e (diff)
downloadusdx-851cba18e77b60bd2195dea1228a70176a1b81c2.tar.gz
usdx-851cba18e77b60bd2195dea1228a70176a1b81c2.tar.xz
usdx-851cba18e77b60bd2195dea1228a70176a1b81c2.zip
C compatibility
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@2735 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'mediaplugin/src')
-rw-r--r--mediaplugin/src/plugins/media/include/core/plugin_core.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/mediaplugin/src/plugins/media/include/core/plugin_core.h b/mediaplugin/src/plugins/media/include/core/plugin_core.h
index f0cb19da..e62dd21b 100644
--- a/mediaplugin/src/plugins/media/include/core/plugin_core.h
+++ b/mediaplugin/src/plugins/media/include/core/plugin_core.h
@@ -140,11 +140,11 @@ static const int g_audioSampleSize[] = {
4, // asfFloat
};
-struct audioFormatInfo_t {
+typedef struct audioFormatInfo_t {
double sampleRate;
uint8_t channels;
audioSampleFormat_t format;
-};
+} audioFormatInfo_t;
typedef struct{} audioDecodeStream_t;
typedef struct{} audioConvertStream_t;
@@ -208,7 +208,7 @@ typedef struct pluginInfo_t {
// plugin entry function (must be implemented by the plugin)
-DLL_EXPORT const pluginInfo_t* PLUGIN_CALL Plugin_register(const pluginCore_t *core);
+extern DLL_EXPORT const pluginInfo_t* PLUGIN_CALL Plugin_register(const pluginCore_t *core);
// must be provided by the plugin and initialized on plugin initialization
extern const pluginCore_t *pluginCore;