Fixed symbol export for sound plugins.
authorArmin Novak <armin.novak@thincast.com>
Thu, 3 Mar 2016 16:11:26 +0000 (17:11 +0100)
committerArmin Novak <armin.novak@thincast.com>
Thu, 3 Mar 2016 16:17:13 +0000 (17:17 +0100)
19 files changed:
channels/audin/client/alsa/audin_alsa.c
channels/audin/client/mac/audin_mac.c
channels/audin/client/opensles/audin_opensl_es.c
channels/audin/client/oss/audin_oss.c
channels/audin/client/pulse/audin_pulse.c
channels/audin/client/winmm/audin_winmm.c
channels/rdpsnd/client/alsa/rdpsnd_alsa.c
channels/rdpsnd/client/ios/rdpsnd_ios.c
channels/rdpsnd/client/mac/rdpsnd_mac.c
channels/rdpsnd/client/opensles/rdpsnd_opensles.c
channels/rdpsnd/client/oss/rdpsnd_oss.c
channels/rdpsnd/client/pulse/rdpsnd_pulse.c
channels/rdpsnd/client/winmm/rdpsnd_winmm.c
channels/tsmf/client/alsa/tsmf_alsa.c
channels/tsmf/client/ffmpeg/tsmf_ffmpeg.c
channels/tsmf/client/gstreamer/tsmf_gstreamer.c
channels/tsmf/client/oss/tsmf_oss.c
channels/tsmf/client/pulse/tsmf_pulse.c
channels/urbdrc/client/libusb/libusb_udevman.c

index a3a7b3a..e49a1cc 100644 (file)
@@ -522,6 +522,8 @@ static UINT audin_alsa_parse_addin_args(AudinALSADevice* device, ADDIN_ARGV* arg
 
 #ifdef STATIC_CHANNELS
 #define freerdp_audin_client_subsystem_entry   alsa_freerdp_audin_client_subsystem_entry
+#else
+#define freerdp_audin_client_subsystem_entry   FREERDP_API freerdp_audin_client_subsystem_entry
 #endif
 
 /**
index 07b7894..d7d8db8 100644 (file)
@@ -402,6 +402,8 @@ static UINT audin_mac_parse_addin_args(AudinMacDevice *device, ADDIN_ARGV *args)
 
 #ifdef STATIC_CHANNELS
 #define freerdp_audin_client_subsystem_entry   mac_freerdp_audin_client_subsystem_entry
+#else
+#define freerdp_audin_client_subsystem_entry   FREERDP_API freerdp_audin_client_subsystem_entry
 #endif
 
 UINT freerdp_audin_client_subsystem_entry(PFREERDP_AUDIN_DEVICE_ENTRY_POINTS pEntryPoints)
index a9123c5..cd0d399 100644 (file)
@@ -476,6 +476,9 @@ static UINT audin_opensles_parse_addin_args(AudinOpenSLESDevice* device,
 #ifdef STATIC_CHANNELS
 #define freerdp_audin_client_subsystem_entry \
        opensles_freerdp_audin_client_subsystem_entry
+#else
+#define freerdp_audin_client_subsystem_entry \
+       FREERDP_API freerdp_audin_client_subsystem_entry
 #endif
 
 /**
index e79937a..753298b 100644 (file)
@@ -485,6 +485,8 @@ static UINT audin_oss_parse_addin_args(AudinOSSDevice *device, ADDIN_ARGV *args)
 
 #ifdef STATIC_CHANNELS
 #define freerdp_audin_client_subsystem_entry   oss_freerdp_audin_client_subsystem_entry
+#else
+#define freerdp_audin_client_subsystem_entry   FREERDP_API freerdp_audin_client_subsystem_entry
 #endif
 
 /**
index 829e505..ad2f480 100644 (file)
@@ -525,6 +525,8 @@ static UINT audin_pulse_parse_addin_args(AudinPulseDevice* device, ADDIN_ARGV* a
 
 #ifdef STATIC_CHANNELS
 #define freerdp_audin_client_subsystem_entry   pulse_freerdp_audin_client_subsystem_entry
+#else
+#define freerdp_audin_client_subsystem_entry   FREERDP_API freerdp_audin_client_subsystem_entry
 #endif
 
 /**
index 5f7c6d9..e59a84e 100644 (file)
@@ -393,6 +393,8 @@ static UINT audin_winmm_parse_addin_args(AudinWinmmDevice* device, ADDIN_ARGV* a
 
 #ifdef STATIC_CHANNELS
 #define freerdp_audin_client_subsystem_entry   winmm_freerdp_audin_client_subsystem_entry
+#else
+#define freerdp_audin_client_subsystem_entry   FREERDP_API freerdp_audin_client_subsystem_entry
 #endif
 
 /**
index 36f8214..ea4230d 100644 (file)
@@ -649,6 +649,8 @@ static UINT rdpsnd_alsa_parse_addin_args(rdpsndDevicePlugin* device, ADDIN_ARGV*
 
 #ifdef STATIC_CHANNELS
 #define freerdp_rdpsnd_client_subsystem_entry  alsa_freerdp_rdpsnd_client_subsystem_entry
+#else
+#define freerdp_rdpsnd_client_subsystem_entry  FREERDP_API freerdp_rdpsnd_client_subsystem_entry
 #endif
 
 /**
index f307b23..148c846 100644 (file)
@@ -281,6 +281,8 @@ static void rdpsnd_ios_free(rdpsndDevicePlugin* device)
 
 #ifdef STATIC_CHANNELS
 #define freerdp_rdpsnd_client_subsystem_entry  ios_freerdp_rdpsnd_client_subsystem_entry
+#else
+#define freerdp_rdpsnd_client_subsystem_entry  FREERDP_API freerdp_rdpsnd_client_subsystem_entry
 #endif
 
 /**
index 5867480..a2162a2 100644 (file)
@@ -345,6 +345,8 @@ static void rdpsnd_mac_waveplay(rdpsndDevicePlugin* device, RDPSND_WAVE* wave)
 
 #ifdef STATIC_CHANNELS
 #define freerdp_rdpsnd_client_subsystem_entry  mac_freerdp_rdpsnd_client_subsystem_entry
+#else
+#define freerdp_rdpsnd_client_subsystem_entry  FREERDP_API freerdp_rdpsnd_client_subsystem_entry
 #endif
 
 /**
index c42f1b2..8c8b34e 100644 (file)
@@ -407,6 +407,9 @@ static int rdpsnd_opensles_parse_addin_args(rdpsndDevicePlugin* device,
 #ifdef STATIC_CHANNELS
 #define freerdp_rdpsnd_client_subsystem_entry \
        opensles_freerdp_rdpsnd_client_subsystem_entry
+#else
+#define freerdp_rdpsnd_client_subsystem_entry \
+       FREERDP_API freerdp_rdpsnd_client_subsystem_entry
 #endif
 
 /**
index df01ec0..2a6d365 100644 (file)
@@ -477,6 +477,8 @@ static int rdpsnd_oss_parse_addin_args(rdpsndDevicePlugin* device, ADDIN_ARGV* a
 
 #ifdef STATIC_CHANNELS
 #define freerdp_rdpsnd_client_subsystem_entry  oss_freerdp_rdpsnd_client_subsystem_entry
+#else
+#define freerdp_rdpsnd_client_subsystem_entry  FREERDP_API freerdp_rdpsnd_client_subsystem_entry
 #endif
 
 /**
index 13899ec..5181d0d 100644 (file)
@@ -636,6 +636,8 @@ static UINT rdpsnd_pulse_parse_addin_args(rdpsndDevicePlugin* device, ADDIN_ARGV
 
 #ifdef STATIC_CHANNELS
 #define freerdp_rdpsnd_client_subsystem_entry  pulse_freerdp_rdpsnd_client_subsystem_entry
+#else
+#define freerdp_rdpsnd_client_subsystem_entry  FREERDP_API freerdp_rdpsnd_client_subsystem_entry
 #endif
 
 /**
index 5e14363..7eb1a5f 100644 (file)
@@ -346,6 +346,8 @@ static void rdpsnd_winmm_parse_addin_args(rdpsndDevicePlugin* device, ADDIN_ARGV
 
 #ifdef STATIC_CHANNELS
 #define freerdp_rdpsnd_client_subsystem_entry  winmm_freerdp_rdpsnd_client_subsystem_entry
+#else
+#define freerdp_rdpsnd_client_subsystem_entry  FREERDP_API freerdp_rdpsnd_client_subsystem_entry
 #endif
 
 /**
index 91af225..078c7d8 100644 (file)
@@ -233,6 +233,8 @@ static void tsmf_alsa_free(ITSMFAudioDevice *audio)
 
 #ifdef STATIC_CHANNELS
 #define freerdp_tsmf_client_audio_subsystem_entry      alsa_freerdp_tsmf_client_audio_subsystem_entry
+#else
+#define freerdp_tsmf_client_audio_subsystem_entry      FREERDP_API freerdp_tsmf_client_audio_subsystem_entry
 #endif
 
 ITSMFAudioDevice *freerdp_tsmf_client_audio_subsystem_entry(void)
index e1b9f83..4e5beff 100644 (file)
@@ -543,6 +543,8 @@ static BOOL initialized = FALSE;
 
 #ifdef STATIC_CHANNELS
 #define freerdp_tsmf_client_subsystem_entry    ffmpeg_freerdp_tsmf_client_decoder_subsystem_entry
+#else
+#define freerdp_tsmf_client_subsystem_entry    FREERDP_API freerdp_tsmf_client_decoder_subsystem_entry
 #endif
 
 ITSMFDecoder* freerdp_tsmf_client_subsystem_entry(void)
index 0e35f73..466dd7d 100644 (file)
@@ -1012,6 +1012,8 @@ BOOL tsmf_gstreamer_sync(ITSMFDecoder* decoder, void (*cb)(void *), void *stream
 
 #ifdef STATIC_CHANNELS
 #define freerdp_tsmf_client_subsystem_entry    gstreamer_freerdp_tsmf_client_decoder_subsystem_entry
+#else
+#define freerdp_tsmf_client_subsystem_entry    FREERDP_API freerdp_tsmf_client_decoder_subsystem_entry
 #endif
 
 ITSMFDecoder* freerdp_tsmf_client_subsystem_entry(void)
index fe97851..da792be 100644 (file)
@@ -238,6 +238,8 @@ static void tsmf_oss_free(ITSMFAudioDevice* audio)
 
 #ifdef STATIC_CHANNELS
 #define freerdp_tsmf_client_audio_subsystem_entry      oss_freerdp_tsmf_client_audio_subsystem_entry
+#else
+#define freerdp_tsmf_client_audio_subsystem_entry      FREERDP_API freerdp_tsmf_client_audio_subsystem_entry
 #endif
 
 ITSMFAudioDevice* freerdp_tsmf_client_audio_subsystem_entry(void)
index c0d6caa..5a8c90d 100644 (file)
@@ -360,6 +360,8 @@ static void tsmf_pulse_free(ITSMFAudioDevice *audio)
 
 #ifdef STATIC_CHANNELS
 #define freerdp_tsmf_client_audio_subsystem_entry      pulse_freerdp_tsmf_client_audio_subsystem_entry
+#else
+#define freerdp_tsmf_client_audio_subsystem_entry      FREERDP_API freerdp_tsmf_client_audio_subsystem_entry
 #endif
 
 ITSMFAudioDevice *freerdp_tsmf_client_audio_subsystem_entry(void)
index 7dfa505..b8af3a4 100644 (file)
@@ -579,6 +579,8 @@ static void urbdrc_udevman_parse_addin_args(UDEVMAN* udevman, ADDIN_ARGV* args)
 
 #ifdef STATIC_CHANNELS
 #define freerdp_urbdrc_client_subsystem_entry  libusb_freerdp_urbdrc_client_subsystem_entry
+#else
+#define freerdp_urbdrc_client_subsystem_entry  FREERDP_API freerdp_urbdrc_client_subsystem_entry
 #endif
 
 int freerdp_urbdrc_client_subsystem_entry(PFREERDP_URBDRC_SERVICE_ENTRY_POINTS pEntryPoints)