SWH: fixed Win32 compilation
The recent adaptions for OS X broke build for Win32.
This commit is contained in:
@@ -44,7 +44,7 @@ const LADSPA_Descriptor *ladspa_descriptor(unsigned long index) {
|
||||
|
||||
#ifdef WIN32
|
||||
if (bIsFirstTime) {
|
||||
_init();
|
||||
swh_init();
|
||||
bIsFirstTime = 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -127,7 +127,7 @@ const LADSPA_Descriptor *ladspa_descriptor(unsigned long index) {
|
||||
|
||||
#ifdef WIN32
|
||||
if (bIsFirstTime) {
|
||||
_init();
|
||||
swh_init();
|
||||
bIsFirstTime = 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -66,7 +66,7 @@ const LADSPA_Descriptor *ladspa_descriptor(unsigned long index) {
|
||||
|
||||
#ifdef WIN32
|
||||
if (bIsFirstTime) {
|
||||
_init();
|
||||
swh_init();
|
||||
bIsFirstTime = 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -47,7 +47,7 @@ const LADSPA_Descriptor *ladspa_descriptor(unsigned long index) {
|
||||
|
||||
#ifdef WIN32
|
||||
if (bIsFirstTime) {
|
||||
_init();
|
||||
swh_init();
|
||||
bIsFirstTime = 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -51,7 +51,7 @@ const LADSPA_Descriptor *ladspa_descriptor(unsigned long index) {
|
||||
|
||||
#ifdef WIN32
|
||||
if (bIsFirstTime) {
|
||||
_init();
|
||||
swh_init();
|
||||
bIsFirstTime = 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -58,7 +58,7 @@ const LADSPA_Descriptor *ladspa_descriptor(unsigned long index) {
|
||||
|
||||
#ifdef WIN32
|
||||
if (bIsFirstTime) {
|
||||
_init();
|
||||
swh_init();
|
||||
bIsFirstTime = 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -92,7 +92,7 @@ const LADSPA_Descriptor *ladspa_descriptor(unsigned long index) {
|
||||
|
||||
#ifdef WIN32
|
||||
if (bIsFirstTime) {
|
||||
_init();
|
||||
swh_init();
|
||||
bIsFirstTime = 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -99,7 +99,7 @@ const LADSPA_Descriptor *ladspa_descriptor(unsigned long index) {
|
||||
|
||||
#ifdef WIN32
|
||||
if (bIsFirstTime) {
|
||||
_init();
|
||||
swh_init();
|
||||
bIsFirstTime = 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -89,7 +89,7 @@ const LADSPA_Descriptor *ladspa_descriptor(unsigned long index) {
|
||||
|
||||
#ifdef WIN32
|
||||
if (bIsFirstTime) {
|
||||
_init();
|
||||
swh_init();
|
||||
bIsFirstTime = 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -86,7 +86,7 @@ const LADSPA_Descriptor *ladspa_descriptor(unsigned long index) {
|
||||
|
||||
#ifdef WIN32
|
||||
if (bIsFirstTime) {
|
||||
_init();
|
||||
swh_init();
|
||||
bIsFirstTime = 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -55,7 +55,7 @@ const LADSPA_Descriptor *ladspa_descriptor(unsigned long index) {
|
||||
|
||||
#ifdef WIN32
|
||||
if (bIsFirstTime) {
|
||||
_init();
|
||||
swh_init();
|
||||
bIsFirstTime = 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -125,7 +125,7 @@ const LADSPA_Descriptor *ladspa_descriptor(unsigned long index) {
|
||||
|
||||
#ifdef WIN32
|
||||
if (bIsFirstTime) {
|
||||
_init();
|
||||
swh_init();
|
||||
bIsFirstTime = 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -55,7 +55,7 @@ const LADSPA_Descriptor *ladspa_descriptor(unsigned long index) {
|
||||
|
||||
#ifdef WIN32
|
||||
if (bIsFirstTime) {
|
||||
_init();
|
||||
swh_init();
|
||||
bIsFirstTime = 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -45,7 +45,7 @@ const LADSPA_Descriptor *ladspa_descriptor(unsigned long index) {
|
||||
|
||||
#ifdef WIN32
|
||||
if (bIsFirstTime) {
|
||||
_init();
|
||||
swh_init();
|
||||
bIsFirstTime = 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -49,7 +49,7 @@ const LADSPA_Descriptor *ladspa_descriptor(unsigned long index) {
|
||||
|
||||
#ifdef WIN32
|
||||
if (bIsFirstTime) {
|
||||
_init();
|
||||
swh_init();
|
||||
bIsFirstTime = 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -44,7 +44,7 @@ const LADSPA_Descriptor *ladspa_descriptor(unsigned long index) {
|
||||
|
||||
#ifdef WIN32
|
||||
if (bIsFirstTime) {
|
||||
_init();
|
||||
swh_init();
|
||||
bIsFirstTime = 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -53,7 +53,7 @@ const LADSPA_Descriptor *ladspa_descriptor(unsigned long index) {
|
||||
|
||||
#ifdef WIN32
|
||||
if (bIsFirstTime) {
|
||||
_init();
|
||||
swh_init();
|
||||
bIsFirstTime = 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -53,7 +53,7 @@ const LADSPA_Descriptor *ladspa_descriptor(unsigned long index) {
|
||||
|
||||
#ifdef WIN32
|
||||
if (bIsFirstTime) {
|
||||
_init();
|
||||
swh_init();
|
||||
bIsFirstTime = 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -48,7 +48,7 @@ const LADSPA_Descriptor *ladspa_descriptor(unsigned long index) {
|
||||
|
||||
#ifdef WIN32
|
||||
if (bIsFirstTime) {
|
||||
_init();
|
||||
swh_init();
|
||||
bIsFirstTime = 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -98,7 +98,7 @@ const LADSPA_Descriptor *ladspa_descriptor(unsigned long index) {
|
||||
|
||||
#ifdef WIN32
|
||||
if (bIsFirstTime) {
|
||||
_init();
|
||||
swh_init();
|
||||
bIsFirstTime = 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -90,7 +90,7 @@ const LADSPA_Descriptor *ladspa_descriptor(unsigned long index) {
|
||||
|
||||
#ifdef WIN32
|
||||
if (bIsFirstTime) {
|
||||
_init();
|
||||
swh_init();
|
||||
bIsFirstTime = 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -44,7 +44,7 @@ const LADSPA_Descriptor *ladspa_descriptor(unsigned long index) {
|
||||
|
||||
#ifdef WIN32
|
||||
if (bIsFirstTime) {
|
||||
_init();
|
||||
swh_init();
|
||||
bIsFirstTime = 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -50,7 +50,7 @@ const LADSPA_Descriptor *ladspa_descriptor(unsigned long index) {
|
||||
|
||||
#ifdef WIN32
|
||||
if (bIsFirstTime) {
|
||||
_init();
|
||||
swh_init();
|
||||
bIsFirstTime = 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -85,7 +85,7 @@ const LADSPA_Descriptor *ladspa_descriptor(unsigned long index) {
|
||||
|
||||
#ifdef WIN32
|
||||
if (bIsFirstTime) {
|
||||
_init();
|
||||
swh_init();
|
||||
bIsFirstTime = 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -63,7 +63,7 @@ const LADSPA_Descriptor *ladspa_descriptor(unsigned long index) {
|
||||
|
||||
#ifdef WIN32
|
||||
if (bIsFirstTime) {
|
||||
_init();
|
||||
swh_init();
|
||||
bIsFirstTime = 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -130,7 +130,7 @@ const LADSPA_Descriptor *ladspa_descriptor(unsigned long index) {
|
||||
|
||||
#ifdef WIN32
|
||||
if (bIsFirstTime) {
|
||||
_init();
|
||||
swh_init();
|
||||
bIsFirstTime = 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -57,7 +57,7 @@ const LADSPA_Descriptor *ladspa_descriptor(unsigned long index) {
|
||||
|
||||
#ifdef WIN32
|
||||
if (bIsFirstTime) {
|
||||
_init();
|
||||
swh_init();
|
||||
bIsFirstTime = 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -81,7 +81,7 @@ const LADSPA_Descriptor *ladspa_descriptor(unsigned long index) {
|
||||
|
||||
#ifdef WIN32
|
||||
if (bIsFirstTime) {
|
||||
_init();
|
||||
swh_init();
|
||||
bIsFirstTime = 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -63,7 +63,7 @@ const LADSPA_Descriptor *ladspa_descriptor(unsigned long index) {
|
||||
|
||||
#ifdef WIN32
|
||||
if (bIsFirstTime) {
|
||||
_init();
|
||||
swh_init();
|
||||
bIsFirstTime = 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -46,7 +46,7 @@ const LADSPA_Descriptor *ladspa_descriptor(unsigned long index) {
|
||||
|
||||
#ifdef WIN32
|
||||
if (bIsFirstTime) {
|
||||
_init();
|
||||
swh_init();
|
||||
bIsFirstTime = 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -44,7 +44,7 @@ const LADSPA_Descriptor *ladspa_descriptor(unsigned long index) {
|
||||
|
||||
#ifdef WIN32
|
||||
if (bIsFirstTime) {
|
||||
_init();
|
||||
swh_init();
|
||||
bIsFirstTime = 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -52,7 +52,7 @@ const LADSPA_Descriptor *ladspa_descriptor(unsigned long index) {
|
||||
|
||||
#ifdef WIN32
|
||||
if (bIsFirstTime) {
|
||||
_init();
|
||||
swh_init();
|
||||
bIsFirstTime = 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -76,7 +76,7 @@ const LADSPA_Descriptor *ladspa_descriptor(unsigned long index) {
|
||||
|
||||
#ifdef WIN32
|
||||
if (bIsFirstTime) {
|
||||
_init();
|
||||
swh_init();
|
||||
bIsFirstTime = 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -77,7 +77,7 @@ const LADSPA_Descriptor *ladspa_descriptor(unsigned long index) {
|
||||
|
||||
#ifdef WIN32
|
||||
if (bIsFirstTime) {
|
||||
_init();
|
||||
swh_init();
|
||||
bIsFirstTime = 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -105,7 +105,7 @@ const LADSPA_Descriptor *ladspa_descriptor(unsigned long index) {
|
||||
|
||||
#ifdef WIN32
|
||||
if (bIsFirstTime) {
|
||||
_init();
|
||||
swh_init();
|
||||
bIsFirstTime = 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -58,7 +58,7 @@ const LADSPA_Descriptor *ladspa_descriptor(unsigned long index) {
|
||||
|
||||
#ifdef WIN32
|
||||
if (bIsFirstTime) {
|
||||
_init();
|
||||
swh_init();
|
||||
bIsFirstTime = 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -70,7 +70,7 @@ const LADSPA_Descriptor *ladspa_descriptor(unsigned long index) {
|
||||
|
||||
#ifdef WIN32
|
||||
if (bIsFirstTime) {
|
||||
_init();
|
||||
swh_init();
|
||||
bIsFirstTime = 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -74,7 +74,7 @@ const LADSPA_Descriptor *ladspa_descriptor(unsigned long index) {
|
||||
|
||||
#ifdef WIN32
|
||||
if (bIsFirstTime) {
|
||||
_init();
|
||||
swh_init();
|
||||
bIsFirstTime = 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -52,7 +52,7 @@ const LADSPA_Descriptor *ladspa_descriptor(unsigned long index) {
|
||||
|
||||
#ifdef WIN32
|
||||
if (bIsFirstTime) {
|
||||
_init();
|
||||
swh_init();
|
||||
bIsFirstTime = 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -97,7 +97,7 @@ const LADSPA_Descriptor *ladspa_descriptor(unsigned long index) {
|
||||
|
||||
#ifdef WIN32
|
||||
if (bIsFirstTime) {
|
||||
_init();
|
||||
swh_init();
|
||||
bIsFirstTime = 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -300,7 +300,7 @@ const LADSPA_Descriptor *ladspa_descriptor(unsigned long index) {
|
||||
|
||||
#ifdef WIN32
|
||||
if (bIsFirstTime) {
|
||||
_init();
|
||||
swh_init();
|
||||
bIsFirstTime = 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -52,7 +52,7 @@ const LADSPA_Descriptor *ladspa_descriptor(unsigned long index) {
|
||||
|
||||
#ifdef WIN32
|
||||
if (bIsFirstTime) {
|
||||
_init();
|
||||
swh_init();
|
||||
bIsFirstTime = 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -83,7 +83,7 @@ const LADSPA_Descriptor *ladspa_descriptor(unsigned long index) {
|
||||
|
||||
#ifdef WIN32
|
||||
if (bIsFirstTime) {
|
||||
_init();
|
||||
swh_init();
|
||||
bIsFirstTime = 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -145,7 +145,7 @@ const LADSPA_Descriptor *ladspa_descriptor(unsigned long index) {
|
||||
|
||||
#ifdef WIN32
|
||||
if (bIsFirstTime) {
|
||||
_init();
|
||||
swh_init();
|
||||
bIsFirstTime = 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -49,7 +49,7 @@ const LADSPA_Descriptor *ladspa_descriptor(unsigned long index) {
|
||||
|
||||
#ifdef WIN32
|
||||
if (bIsFirstTime) {
|
||||
_init();
|
||||
swh_init();
|
||||
bIsFirstTime = 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -42,7 +42,7 @@ const LADSPA_Descriptor *ladspa_descriptor(unsigned long index) {
|
||||
|
||||
#ifdef WIN32
|
||||
if (bIsFirstTime) {
|
||||
_init();
|
||||
swh_init();
|
||||
bIsFirstTime = 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -48,7 +48,7 @@ const LADSPA_Descriptor *ladspa_descriptor(unsigned long index) {
|
||||
|
||||
#ifdef WIN32
|
||||
if (bIsFirstTime) {
|
||||
_init();
|
||||
swh_init();
|
||||
bIsFirstTime = 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -50,7 +50,7 @@ const LADSPA_Descriptor *ladspa_descriptor(unsigned long index) {
|
||||
|
||||
#ifdef WIN32
|
||||
if (bIsFirstTime) {
|
||||
_init();
|
||||
swh_init();
|
||||
bIsFirstTime = 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -83,7 +83,7 @@ const LADSPA_Descriptor *ladspa_descriptor(unsigned long index) {
|
||||
|
||||
#ifdef WIN32
|
||||
if (bIsFirstTime) {
|
||||
_init();
|
||||
swh_init();
|
||||
bIsFirstTime = 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -53,7 +53,7 @@ const LADSPA_Descriptor *ladspa_descriptor(unsigned long index) {
|
||||
|
||||
#ifdef WIN32
|
||||
if (bIsFirstTime) {
|
||||
_init();
|
||||
swh_init();
|
||||
bIsFirstTime = 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -54,7 +54,7 @@ const LADSPA_Descriptor *ladspa_descriptor(unsigned long index) {
|
||||
|
||||
#ifdef WIN32
|
||||
if (bIsFirstTime) {
|
||||
_init();
|
||||
swh_init();
|
||||
bIsFirstTime = 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -48,7 +48,7 @@ const LADSPA_Descriptor *ladspa_descriptor(unsigned long index) {
|
||||
|
||||
#ifdef WIN32
|
||||
if (bIsFirstTime) {
|
||||
_init();
|
||||
swh_init();
|
||||
bIsFirstTime = 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -107,7 +107,7 @@ const LADSPA_Descriptor *ladspa_descriptor(unsigned long index) {
|
||||
|
||||
#ifdef WIN32
|
||||
if (bIsFirstTime) {
|
||||
_init();
|
||||
swh_init();
|
||||
bIsFirstTime = 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -46,7 +46,7 @@ const LADSPA_Descriptor *ladspa_descriptor(unsigned long index) {
|
||||
|
||||
#ifdef WIN32
|
||||
if (bIsFirstTime) {
|
||||
_init();
|
||||
swh_init();
|
||||
bIsFirstTime = 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -120,7 +120,7 @@ const LADSPA_Descriptor *ladspa_descriptor(unsigned long index) {
|
||||
|
||||
#ifdef WIN32
|
||||
if (bIsFirstTime) {
|
||||
_init();
|
||||
swh_init();
|
||||
bIsFirstTime = 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -53,7 +53,7 @@ const LADSPA_Descriptor *ladspa_descriptor(unsigned long index) {
|
||||
|
||||
#ifdef WIN32
|
||||
if (bIsFirstTime) {
|
||||
_init();
|
||||
swh_init();
|
||||
bIsFirstTime = 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -74,7 +74,7 @@ const LADSPA_Descriptor *ladspa_descriptor(unsigned long index) {
|
||||
|
||||
#ifdef WIN32
|
||||
if (bIsFirstTime) {
|
||||
_init();
|
||||
swh_init();
|
||||
bIsFirstTime = 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -58,7 +58,7 @@ const LADSPA_Descriptor *ladspa_descriptor(unsigned long index) {
|
||||
|
||||
#ifdef WIN32
|
||||
if (bIsFirstTime) {
|
||||
_init();
|
||||
swh_init();
|
||||
bIsFirstTime = 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -175,7 +175,7 @@ const LADSPA_Descriptor *ladspa_descriptor(unsigned long index) {
|
||||
|
||||
#ifdef WIN32
|
||||
if (bIsFirstTime) {
|
||||
_init();
|
||||
swh_init();
|
||||
bIsFirstTime = 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -54,7 +54,7 @@ const LADSPA_Descriptor *ladspa_descriptor(unsigned long index) {
|
||||
|
||||
#ifdef WIN32
|
||||
if (bIsFirstTime) {
|
||||
_init();
|
||||
swh_init();
|
||||
bIsFirstTime = 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -54,7 +54,7 @@ const LADSPA_Descriptor *ladspa_descriptor(unsigned long index) {
|
||||
|
||||
#ifdef WIN32
|
||||
if (bIsFirstTime) {
|
||||
_init();
|
||||
swh_init();
|
||||
bIsFirstTime = 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -60,7 +60,7 @@ const LADSPA_Descriptor *ladspa_descriptor(unsigned long index) {
|
||||
|
||||
#ifdef WIN32
|
||||
if (bIsFirstTime) {
|
||||
_init();
|
||||
swh_init();
|
||||
bIsFirstTime = 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -59,7 +59,7 @@ const LADSPA_Descriptor *ladspa_descriptor(unsigned long index) {
|
||||
|
||||
#ifdef WIN32
|
||||
if (bIsFirstTime) {
|
||||
_init();
|
||||
swh_init();
|
||||
bIsFirstTime = 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -51,7 +51,7 @@ const LADSPA_Descriptor *ladspa_descriptor(unsigned long index) {
|
||||
|
||||
#ifdef WIN32
|
||||
if (bIsFirstTime) {
|
||||
_init();
|
||||
swh_init();
|
||||
bIsFirstTime = 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -78,7 +78,7 @@ const LADSPA_Descriptor *ladspa_descriptor(unsigned long index) {
|
||||
|
||||
#ifdef WIN32
|
||||
if (bIsFirstTime) {
|
||||
_init();
|
||||
swh_init();
|
||||
bIsFirstTime = 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -65,7 +65,7 @@ const LADSPA_Descriptor *ladspa_descriptor(unsigned long index) {
|
||||
|
||||
#ifdef WIN32
|
||||
if (bIsFirstTime) {
|
||||
_init();
|
||||
swh_init();
|
||||
bIsFirstTime = 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -76,7 +76,7 @@ const LADSPA_Descriptor *ladspa_descriptor(unsigned long index) {
|
||||
|
||||
#ifdef WIN32
|
||||
if (bIsFirstTime) {
|
||||
_init();
|
||||
swh_init();
|
||||
bIsFirstTime = 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -56,7 +56,7 @@ const LADSPA_Descriptor *ladspa_descriptor(unsigned long index) {
|
||||
|
||||
#ifdef WIN32
|
||||
if (bIsFirstTime) {
|
||||
_init();
|
||||
swh_init();
|
||||
bIsFirstTime = 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -68,7 +68,7 @@ const LADSPA_Descriptor *ladspa_descriptor(unsigned long index) {
|
||||
|
||||
#ifdef WIN32
|
||||
if (bIsFirstTime) {
|
||||
_init();
|
||||
swh_init();
|
||||
bIsFirstTime = 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -70,7 +70,7 @@ const LADSPA_Descriptor *ladspa_descriptor(unsigned long index) {
|
||||
|
||||
#ifdef WIN32
|
||||
if (bIsFirstTime) {
|
||||
_init();
|
||||
swh_init();
|
||||
bIsFirstTime = 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -76,7 +76,7 @@ const LADSPA_Descriptor *ladspa_descriptor(unsigned long index) {
|
||||
|
||||
#ifdef WIN32
|
||||
if (bIsFirstTime) {
|
||||
_init();
|
||||
swh_init();
|
||||
bIsFirstTime = 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -80,7 +80,7 @@ const LADSPA_Descriptor *ladspa_descriptor(unsigned long index) {
|
||||
|
||||
#ifdef WIN32
|
||||
if (bIsFirstTime) {
|
||||
_init();
|
||||
swh_init();
|
||||
bIsFirstTime = 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -76,7 +76,7 @@ const LADSPA_Descriptor *ladspa_descriptor(unsigned long index) {
|
||||
|
||||
#ifdef WIN32
|
||||
if (bIsFirstTime) {
|
||||
_init();
|
||||
swh_init();
|
||||
bIsFirstTime = 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -80,7 +80,7 @@ const LADSPA_Descriptor *ladspa_descriptor(unsigned long index) {
|
||||
|
||||
#ifdef WIN32
|
||||
if (bIsFirstTime) {
|
||||
_init();
|
||||
swh_init();
|
||||
bIsFirstTime = 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -44,7 +44,7 @@ const LADSPA_Descriptor *ladspa_descriptor(unsigned long index) {
|
||||
|
||||
#ifdef WIN32
|
||||
if (bIsFirstTime) {
|
||||
_init();
|
||||
swh_init();
|
||||
bIsFirstTime = 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -96,7 +96,7 @@ const LADSPA_Descriptor *ladspa_descriptor(unsigned long index) {
|
||||
|
||||
#ifdef WIN32
|
||||
if (bIsFirstTime) {
|
||||
_init();
|
||||
swh_init();
|
||||
bIsFirstTime = 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -52,7 +52,7 @@ const LADSPA_Descriptor *ladspa_descriptor(unsigned long index) {
|
||||
|
||||
#ifdef WIN32
|
||||
if (bIsFirstTime) {
|
||||
_init();
|
||||
swh_init();
|
||||
bIsFirstTime = 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -53,7 +53,7 @@ const LADSPA_Descriptor *ladspa_descriptor(unsigned long index) {
|
||||
|
||||
#ifdef WIN32
|
||||
if (bIsFirstTime) {
|
||||
_init();
|
||||
swh_init();
|
||||
bIsFirstTime = 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -44,7 +44,7 @@ const LADSPA_Descriptor *ladspa_descriptor(unsigned long index) {
|
||||
|
||||
#ifdef WIN32
|
||||
if (bIsFirstTime) {
|
||||
_init();
|
||||
swh_init();
|
||||
bIsFirstTime = 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -53,7 +53,7 @@ const LADSPA_Descriptor *ladspa_descriptor(unsigned long index) {
|
||||
|
||||
#ifdef WIN32
|
||||
if (bIsFirstTime) {
|
||||
_init();
|
||||
swh_init();
|
||||
bIsFirstTime = 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -44,7 +44,7 @@ const LADSPA_Descriptor *ladspa_descriptor(unsigned long index) {
|
||||
|
||||
#ifdef WIN32
|
||||
if (bIsFirstTime) {
|
||||
_init();
|
||||
swh_init();
|
||||
bIsFirstTime = 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -70,7 +70,7 @@ const LADSPA_Descriptor *ladspa_descriptor(unsigned long index) {
|
||||
|
||||
#ifdef WIN32
|
||||
if (bIsFirstTime) {
|
||||
_init();
|
||||
swh_init();
|
||||
bIsFirstTime = 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -90,7 +90,7 @@ const LADSPA_Descriptor *ladspa_descriptor(unsigned long index) {
|
||||
|
||||
#ifdef WIN32
|
||||
if (bIsFirstTime) {
|
||||
_init();
|
||||
swh_init();
|
||||
bIsFirstTime = 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -130,7 +130,7 @@ const LADSPA_Descriptor *ladspa_descriptor(unsigned long index) {
|
||||
|
||||
#ifdef WIN32
|
||||
if (bIsFirstTime) {
|
||||
_init();
|
||||
swh_init();
|
||||
bIsFirstTime = 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -79,7 +79,7 @@ const LADSPA_Descriptor *ladspa_descriptor(unsigned long index) {
|
||||
|
||||
#ifdef WIN32
|
||||
if (bIsFirstTime) {
|
||||
_init();
|
||||
swh_init();
|
||||
bIsFirstTime = 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -63,7 +63,7 @@ const LADSPA_Descriptor *ladspa_descriptor(unsigned long index) {
|
||||
|
||||
#ifdef WIN32
|
||||
if (bIsFirstTime) {
|
||||
_init();
|
||||
swh_init();
|
||||
bIsFirstTime = 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -77,7 +77,7 @@ const LADSPA_Descriptor *ladspa_descriptor(unsigned long index) {
|
||||
|
||||
#ifdef WIN32
|
||||
if (bIsFirstTime) {
|
||||
_init();
|
||||
swh_init();
|
||||
bIsFirstTime = 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -51,7 +51,7 @@ const LADSPA_Descriptor *ladspa_descriptor(unsigned long index) {
|
||||
|
||||
#ifdef WIN32
|
||||
if (bIsFirstTime) {
|
||||
_init();
|
||||
swh_init();
|
||||
bIsFirstTime = 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -56,7 +56,7 @@ const LADSPA_Descriptor *ladspa_descriptor(unsigned long index) {
|
||||
|
||||
#ifdef WIN32
|
||||
if (bIsFirstTime) {
|
||||
_init();
|
||||
swh_init();
|
||||
bIsFirstTime = 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -335,8 +335,7 @@ LADSPA_Descriptor * g_psDescriptor = NULL;
|
||||
|
||||
/* __attribute__((constructor)) swh_init() is called automatically when the plugin library is first
|
||||
loaded. */
|
||||
void
|
||||
_init() {
|
||||
void __attribute__((constructor)) swh_init() {
|
||||
char ** pcPortNames;
|
||||
LADSPA_PortDescriptor * piPortDescriptors;
|
||||
LADSPA_PortRangeHint * psPortRangeHints;
|
||||
@@ -448,7 +447,7 @@ const LADSPA_Descriptor *
|
||||
ladspa_descriptor(unsigned long Index) {
|
||||
#ifdef WIN32
|
||||
if (bIsFirstTime) {
|
||||
_init();
|
||||
swh_init();
|
||||
bIsFirstTime = 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -93,7 +93,7 @@ const LADSPA_Descriptor *ladspa_descriptor(unsigned long index) {
|
||||
|
||||
#ifdef WIN32
|
||||
if (bIsFirstTime) {
|
||||
_init();
|
||||
swh_init();
|
||||
bIsFirstTime = 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -44,7 +44,7 @@ const LADSPA_Descriptor *ladspa_descriptor(unsigned long index) {
|
||||
|
||||
#ifdef WIN32
|
||||
if (bIsFirstTime) {
|
||||
_init();
|
||||
swh_init();
|
||||
bIsFirstTime = 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -79,7 +79,7 @@ const LADSPA_Descriptor *ladspa_descriptor(unsigned long index) {
|
||||
|
||||
#ifdef WIN32
|
||||
if (bIsFirstTime) {
|
||||
_init();
|
||||
swh_init();
|
||||
bIsFirstTime = 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -43,7 +43,7 @@ const LADSPA_Descriptor *ladspa_descriptor(unsigned long index) {
|
||||
|
||||
#ifdef WIN32
|
||||
if (bIsFirstTime) {
|
||||
_init();
|
||||
swh_init();
|
||||
bIsFirstTime = 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user