From 851cba18e77b60bd2195dea1228a70176a1b81c2 Mon Sep 17 00:00:00 2001 From: tobigun Date: Fri, 12 Nov 2010 16:50:42 +0000 Subject: C compatibility git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@2735 b956fd51-792f-4845-bead-9b4dfca2ff2c --- mediaplugin/src/plugins/media/include/core/plugin_core.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'mediaplugin/src') 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; -- cgit v1.2.3