1.cmakelists.txt set (Libtype SHARED) changed to set (Libtype STATIC) 2.include/al/al.h Delete dllexport 3.include/al/ alc.h Delete dllexport 4.alc/bs2b.c bs2b_set_level change to Bs2b_set_level2 ... 5.openal32/include/bs2b.h Bs2b_set_level changed into Bs2b_set_level2 ... The OPENAL/BS2B was modified to avoid a static compile-time conflict with the original BS2B---cmakelists.txt.orig2011-02-16 04:05:40 +0800+++ cmakelists.txt2016-03-23 08:23:05 +0800@@ -51,7 +51,7 @@ ENDIF () IF (not Libtype)-set (Libtype SHARED) + set (Libtype STATIC) ENDIF () set (lib_ Major_version "1")---include/al/al.h.orig2010-11-29 07:09:04 +0800+++ include/al/al.h2016-03-23 10:09:22 +0800@@- 5,20 +5,12 @@ extern "C" {#endif-#if defined (al_libtype_static)-#define al_api-#elif defined (_win32) &&!define D (_xbox)-#if defined (al_build_library)-#define AL_API __declspec (dllexport)-#else-#define AL_API __declspec (dllimpo RT)-#endif-#else-#if defined (al_build_library) && defined (have_gcc_visibility)-#define AL_API __attribute__ ((VisibIlity ("protected"))-#else-#define AL_API extern-#endif + #ifndef al_api+ #if defined (al_build_library) + #def Ine Al_api __attribute__ ((Visibility ("default")) + #else + #define al_api+ #endif #endif #if defined (_WIN32) ---include/al/alc.h.orig2010-11-29 06:51:15 +0800+++ include/al/alc.h2016-03-23 10:09:51 +0800@@ -5,20 +5,12 @@ extern " C "{#endif-#if defined (al_libtype_static)-#define alc_api-#elif defined (_win32) &&!defined (_xbox)-#if define D (al_build_library)-#define ALC_API __declspec (dllexport)-#else-#define ALC_API __declspec (dllimport)-#endif-# else-#if defined (al_build_library) && defined (have_gcc_visibility)-#define ALC_API __attribute__ (( Visibility ("protected"))-#else-#define ALC_API extern-#endif + #ifndef alc_api+ #if defined (al_build_library) + #define ALC_API __attribute__ ((Visibility ("default")) + #else + #define alc_api+ #endif #endif #if define D (_WIN32)---alc/bs2b.c.orig2010-03-19 05:22: +0800+++ alc/bs2b.c2016-03-23 10:04:14 +0800@@ -122 +122 @@-void bs2b_set_level (struct bs2b *bs2b, int level) +void BS2 B_set_level2 (struct bs2b *bs2b, int level) @@ -130 +130 @@-int bs2b_get_level (struct bs2b *bs2b) +int Bs2b_get_level2 (struc T bs2b *bs2b) @@ -135 +135 @@-void bs2b_set_srate (struct bs2b *bs2b, int srate) +void bs2b_set_srate2 (struct bs2b *bs2b, int srate) @@ -143 +143 @@-int bs2b_get_srate (struct bs2b *bs2b) +int bs2b_get_srate2 (struct bs2b *bs2b) @@ -143 +148 @@-void BS 2b_clear (struct bs2b *bs2b) +void bs2b_clear2 (struct bs2b *bs2b) @@ -158 +158 @@-int bs2b_is_clear (struct bs2b *bs2b) +int BS 2b_is_clear2 (struct bs2b *bs2b) @@ -170 +170 @@-void bs2b_cross_feed (struct bs2b *bs2b, float *sample) +void Bs2b_cross_fee D2 (struct bs2b *bs2b, float *sample)---openal32/include/bs2b.h.orig2010-03-19 05:22:40 +0800+++ openal32/include/ bs2b.h2016-03-23 07:21:38 +0800@@ -78 +78 @@-void bs2b_set_level (struct bs2b *bs2b, int level); +void Bs2b_set_level2 (Stru CT bs2b *bs2b, int level); @@-81 +81 @@-int bs2b_get_level (struct bs2b *bs2b); +int bs2b_get_level2 (struct bs2b *bs2b); @@ -86 +86 @@-void bs2b_set_srate (stru CT bs2b *bs2b, int srate); +void bs2b_set_srate2 (struct bs2b *bs2b, int srate); @@ -89 +89 @@-int bs2b_get_srate (struct BS2B *BS2B); +int bs2b_get_srate2 (struct bs2b *bs2b) @@ -92 +92 @@-void bs2b_clear (struct bs2b *bs2b); +void bs2b_clear2 (struct BS2B *bs2b) @@ -95 +95 @@-int bs2b_is_clear (struct bs2b *bs2b); +int bs2b_is_clear2 (struct bs2b *bs2b); @@ -95 +103 @@-voi D bs2b_cross_feed (struct bs2b *bs2b, float *sample); +void bs2b_cross_feed2 (struct bs2b *bs2b, float *sample);
openal-1.13 static compilation (MINGW32)