Merge remote-tracking branch 'tresf/stable-1.0' into stable-1.0
Conflicts: plugins/opl2/fmopl.c
This commit is contained in:
@@ -396,6 +396,10 @@ SET(MACOSX_BUNDLE_SHORT_VERSION_STRING "${VERSION}")
|
||||
SET(MACOSX_BUNDLE_BUNDLE_VERSION "${VERSION}")
|
||||
SET(MACOSX_BUNDLE_COPYRIGHT "Tobias Doerffel, 2008-2010")
|
||||
SET(MACOSX_BUNDLE_MIMETYPE "application/x-lmms-project")
|
||||
SET(MACOSX_BUNDLE_MIMETYPE_ICON "project.icns")
|
||||
SET(MACOSX_BUNDLE_MIMETYPE_ID "net.sourceforge.lmms")
|
||||
SET(MACOSX_BUNDLE_PROJECT_URL "http://lmms.sourceforge.net")
|
||||
|
||||
|
||||
# make sub-directories
|
||||
ADD_SUBDIRECTORY(plugins)
|
||||
|
||||
@@ -1,48 +1,147 @@
|
||||
<!-- Apple Application Bundle Info.plist -->
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>CFBundleExecutable</key>
|
||||
<string>@MACOSX_BUNDLE_GUI_IDENTIFIER@</string>
|
||||
<key>CFBundleGetInfoString</key>
|
||||
<string>@MACOSX_BUNDLE_GUI_IDENTIFIER@ @MACOSX_BUNDLE_LONG_VERSION_STRING@</string>
|
||||
<key>CFBundleIdentifier</key>
|
||||
<string>net.sourceforge.lmms</string>
|
||||
<key>CFBundleIconFile</key>
|
||||
<string>@MACOSX_BUNDLE_ICON_FILE@</string>
|
||||
<key>CFBundleName</key>
|
||||
<string>@MACOSX_BUNDLE_BUNDLE_NAME@</string>
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>APPL</string>
|
||||
<key>CFBundleDevelopmentRegion</key>
|
||||
<string>English</string>
|
||||
<key>CFBundleInfoDictionaryVersion</key>
|
||||
<string>6.0</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>@MACOSX_BUNDLE_LONG_VERSION_STRING@</string>
|
||||
<key>CFBundleDocumentTypes</key>
|
||||
<dict>
|
||||
|
||||
<key>CFBundleDevelopmentRegion</key>
|
||||
<string>English</string>
|
||||
|
||||
<key>CFBundleIconFile</key>
|
||||
<string>@MACOSX_BUNDLE_ICON_FILE@</string>
|
||||
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>APPL</string>
|
||||
|
||||
<key>CFBundleGetInfoString</key>
|
||||
<string>@MACOSX_BUNDLE_GUI_IDENTIFIER@ @MACOSX_BUNDLE_LONG_VERSION_STRING@</string>
|
||||
|
||||
<!--
|
||||
#############################################################
|
||||
# Apple Creator Code Registered Application Signatures #
|
||||
#############################################################
|
||||
# Company: LMMS Foundation #
|
||||
# Registrant: tres.finocchiaro@gmail.com #
|
||||
# ASCII Code: LMMS #
|
||||
# HEX: 4C4D4D53 #
|
||||
#############################################################
|
||||
# Contact Apple Developer Support at cfreg@apple.com #
|
||||
# with any requested changes #
|
||||
#############################################################
|
||||
-->
|
||||
<key>CFBundleSignature</key>
|
||||
<string>@MACOSX_BUNDLE_GUI_IDENTIFIER@</string>
|
||||
|
||||
<key>CFBundleExecutable</key>
|
||||
<string>@MACOSX_BUNDLE_GUI_IDENTIFIER@</string>
|
||||
|
||||
<key>CFBundleVersion</key>
|
||||
<string>@MACOSX_BUNDLE_LONG_VERSION_STRING@</string>
|
||||
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>@MACOSX_BUNDLE_LONG_VERSION_STRING@</string>
|
||||
|
||||
<key>CFBundleName</key>
|
||||
<string>@MACOSX_BUNDLE_BUNDLE_NAME@</string>
|
||||
|
||||
<key>CFBundleInfoDictionaryVersion</key>
|
||||
<string>6.0</string>
|
||||
|
||||
<key>CFBundleIdentifier</key>
|
||||
<string>@MACOSX_BUNDLE_MIMETYPE_ID@</string>
|
||||
|
||||
<key>CFBundleDocumentTypes</key>
|
||||
<array>
|
||||
|
||||
<dict>
|
||||
<key>CFBundleTypeExtensions</key>
|
||||
<array>
|
||||
<string>mmpz</string>
|
||||
</array>
|
||||
<key>CFBundleTypeIconFile</key>
|
||||
<string>@MACOSX_BUNDLE_MIMETYPE_ICON@</string>
|
||||
<key>CFBundleTypeName</key>
|
||||
<string>@MACOSX_BUNDLE_GUI_IDENTIFIER@ Project</string>
|
||||
<key>CFBundleTypeOSTypes</key>
|
||||
<array>
|
||||
<string>mmpz</string>
|
||||
</array>
|
||||
<key>CFBundleTypeRole</key>
|
||||
<string>Editor</string>
|
||||
<key>CFBundleTypeMIMETypes</key>
|
||||
<array>
|
||||
<dict>
|
||||
<key>CFBundleTypeIconFile</key>
|
||||
<string>project.icns</string>
|
||||
<key>CFBundleTypeName</key>
|
||||
<string>@MACOSX_BUNDLE_GUI_IDENTIFIER@ Project</string>
|
||||
<key>CFBundleTypeRole</key>
|
||||
<string>Editor</string>
|
||||
<key>LSIsAppleDefaultForType</key>
|
||||
<true/>
|
||||
<key>LSItemContentTypes</key>
|
||||
<array>
|
||||
<string>public.mmp</string>
|
||||
<string>public.mmpz</string>
|
||||
</array>
|
||||
<key>CFBundleTypeExtensions</key>
|
||||
<array>
|
||||
<string>mmp</string>
|
||||
<string>mmpz</string>
|
||||
</array>
|
||||
</dict>
|
||||
<string>@MACOSX_BUNDLE_MIMETYPE@</string>
|
||||
</array>
|
||||
</dict>
|
||||
</dict>
|
||||
|
||||
<dict>
|
||||
<key>CFBundleTypeExtensions</key>
|
||||
<array>
|
||||
<string>mmp</string>
|
||||
</array>
|
||||
<key>CFBundleTypeIconFile</key>
|
||||
<string>@MACOSX_BUNDLE_MIMETYPE_ICON@</string>
|
||||
<key>CFBundleTypeName</key>
|
||||
<string>@MACOSX_BUNDLE_GUI_IDENTIFIER@ Project (uncompressed)</string>
|
||||
<key>CFBundleTypeOSTypes</key>
|
||||
<array>
|
||||
<string>mmp</string>
|
||||
</array>
|
||||
<key>CFBundleTypeRole</key>
|
||||
<string>Editor</string>
|
||||
<key>CFBundleTypeMIMETypes</key>
|
||||
<array>
|
||||
<string>@MACOSX_BUNDLE_MIMETYPE@</string>
|
||||
</array>
|
||||
</dict>
|
||||
|
||||
</array>
|
||||
|
||||
<key>UTExportedTypeDeclarations</key>
|
||||
<array>
|
||||
<dict>
|
||||
<key>UTTypeIdentifier</key>
|
||||
<string>@MACOSX_BUNDLE_MIMETYPE_ID@.mmpz</string>
|
||||
<key>UTTypeReferenceURL</key>
|
||||
<string>@MACOSX_BUNDLE_PROJECT_URL@</string>
|
||||
<key>UTTypeDescription</key>
|
||||
<string>@MACOSX_BUNDLE_GUI_IDENTIFIER@ Project</string>
|
||||
<key>UTTypeIconFile</key>
|
||||
<string>@MACOSX_BUNDLE_MIMETYPE_ICON@</string>
|
||||
<key>UTTypeConformsTo</key>
|
||||
<array>
|
||||
<string>public.data</string>
|
||||
</array>
|
||||
<key>UTTypeTagSpecification</key>
|
||||
<dict>
|
||||
<key>public.filename-extension</key>
|
||||
<array>
|
||||
<string>mmpz</string>
|
||||
</array>
|
||||
</dict>
|
||||
</dict>
|
||||
|
||||
<dict>
|
||||
<key>UTTypeIdentifier</key>
|
||||
<string>@MACOSX_BUNDLE_MIMETYPE_ID@.mmp</string>
|
||||
<key>UTTypeReferenceURL</key>
|
||||
<string>@MACOSX_BUNDLE_PROJECT_URL@</string>
|
||||
<key>UTTypeDescription</key>
|
||||
<string>@MACOSX_BUNDLE_GUI_IDENTIFIER@ Project (uncompressed)</string>
|
||||
<key>UTTypeIconFile</key>
|
||||
<string>@MACOSX_BUNDLE_MIMETYPE_ICON@</string>
|
||||
<key>UTTypeConformsTo</key>
|
||||
<array>
|
||||
<string>public.xml</string>
|
||||
<string>public.data</string>
|
||||
</array>
|
||||
<key>UTTypeTagSpecification</key>
|
||||
<dict>
|
||||
<key>public.filename-extension</key>
|
||||
<array>
|
||||
<string>mmp</string>
|
||||
</array>
|
||||
</dict>
|
||||
</dict>
|
||||
</array>
|
||||
</dict>
|
||||
</plist>
|
||||
|
||||
@@ -12,9 +12,7 @@ ADD_SUBDIRECTORY(LadspaEffect)
|
||||
ADD_SUBDIRECTORY(lb302)
|
||||
#ADD_SUBDIRECTORY(lb303)
|
||||
ADD_SUBDIRECTORY(midi_import)
|
||||
IF(NOT LMMS_BUILD_APPLE)
|
||||
ADD_SUBDIRECTORY(opl2)
|
||||
ENDIF()
|
||||
ADD_SUBDIRECTORY(opl2)
|
||||
ADD_SUBDIRECTORY(organic)
|
||||
ADD_SUBDIRECTORY(papu)
|
||||
ADD_SUBDIRECTORY(patman)
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#ifdef WIN32
|
||||
#define _WINDOWS_DLL_EXPORT_ __declspec(dllexport)
|
||||
int bIsFirstTime = 1;
|
||||
void _init(); // forward declaration
|
||||
void __attribute__((constructor)) swh_init(); // forward declaration
|
||||
#else
|
||||
#define _WINDOWS_DLL_EXPORT_
|
||||
#endif
|
||||
@@ -161,7 +161,7 @@ static void runAddingAlias(LADSPA_Handle instance, unsigned long sample_count) {
|
||||
}
|
||||
}
|
||||
|
||||
void _init() {
|
||||
void __attribute__((constructor)) swh_init() {
|
||||
char **port_names;
|
||||
LADSPA_PortDescriptor *port_descriptors;
|
||||
LADSPA_PortRangeHint *port_range_hints;
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#ifdef WIN32
|
||||
#define _WINDOWS_DLL_EXPORT_ __declspec(dllexport)
|
||||
int bIsFirstTime = 1;
|
||||
void _init(); // forward declaration
|
||||
void __attribute__((constructor)) swh_init(); // forward declaration
|
||||
#else
|
||||
#define _WINDOWS_DLL_EXPORT_
|
||||
#endif
|
||||
@@ -1088,7 +1088,7 @@ static void runAddingAllpass_c(LADSPA_Handle instance, unsigned long sample_coun
|
||||
plugin_data->write_phase = write_phase;
|
||||
}
|
||||
|
||||
void _init() {
|
||||
void __attribute__((constructor)) swh_init() {
|
||||
char **port_names;
|
||||
LADSPA_PortDescriptor *port_descriptors;
|
||||
LADSPA_PortRangeHint *port_range_hints;
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#ifdef WIN32
|
||||
#define _WINDOWS_DLL_EXPORT_ __declspec(dllexport)
|
||||
int bIsFirstTime = 1;
|
||||
void _init(); // forward declaration
|
||||
void __attribute__((constructor)) swh_init(); // forward declaration
|
||||
#else
|
||||
#define _WINDOWS_DLL_EXPORT_
|
||||
#endif
|
||||
@@ -359,7 +359,7 @@ static void runAddingAmPitchshift(LADSPA_Handle instance, unsigned long sample_c
|
||||
*(plugin_data->latency) = delay_ofs/2;
|
||||
}
|
||||
|
||||
void _init() {
|
||||
void __attribute__((constructor)) swh_init() {
|
||||
char **port_names;
|
||||
LADSPA_PortDescriptor *port_descriptors;
|
||||
LADSPA_PortRangeHint *port_range_hints;
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#ifdef WIN32
|
||||
#define _WINDOWS_DLL_EXPORT_ __declspec(dllexport)
|
||||
int bIsFirstTime = 1;
|
||||
void _init(); // forward declaration
|
||||
void __attribute__((constructor)) swh_init(); // forward declaration
|
||||
#else
|
||||
#define _WINDOWS_DLL_EXPORT_
|
||||
#endif
|
||||
@@ -154,7 +154,7 @@ static void runAddingAmp(LADSPA_Handle instance, unsigned long sample_count) {
|
||||
}
|
||||
}
|
||||
|
||||
void _init() {
|
||||
void __attribute__((constructor)) swh_init() {
|
||||
char **port_names;
|
||||
LADSPA_PortDescriptor *port_descriptors;
|
||||
LADSPA_PortRangeHint *port_range_hints;
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#ifdef WIN32
|
||||
#define _WINDOWS_DLL_EXPORT_ __declspec(dllexport)
|
||||
int bIsFirstTime = 1;
|
||||
void _init(); // forward declaration
|
||||
void __attribute__((constructor)) swh_init(); // forward declaration
|
||||
#else
|
||||
#define _WINDOWS_DLL_EXPORT_
|
||||
#endif
|
||||
@@ -188,7 +188,7 @@ static void runAddingBandpass_a_iir(LADSPA_Handle instance, unsigned long sample
|
||||
iir_process_buffer_1s_5(iirf, gt, input, output, sample_count,0);
|
||||
}
|
||||
|
||||
void _init() {
|
||||
void __attribute__((constructor)) swh_init() {
|
||||
char **port_names;
|
||||
LADSPA_PortDescriptor *port_descriptors;
|
||||
LADSPA_PortRangeHint *port_range_hints;
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#ifdef WIN32
|
||||
#define _WINDOWS_DLL_EXPORT_ __declspec(dllexport)
|
||||
int bIsFirstTime = 1;
|
||||
void _init(); // forward declaration
|
||||
void __attribute__((constructor)) swh_init(); // forward declaration
|
||||
#else
|
||||
#define _WINDOWS_DLL_EXPORT_
|
||||
#endif
|
||||
@@ -244,7 +244,7 @@ static void runAddingBandpass_iir(LADSPA_Handle instance, unsigned long sample_c
|
||||
iir_process_buffer_ns_5(iirf, gt, input, output, sample_count,RUN_ADDING);
|
||||
}
|
||||
|
||||
void _init() {
|
||||
void __attribute__((constructor)) swh_init() {
|
||||
char **port_names;
|
||||
LADSPA_PortDescriptor *port_descriptors;
|
||||
LADSPA_PortRangeHint *port_range_hints;
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#ifdef WIN32
|
||||
#define _WINDOWS_DLL_EXPORT_ __declspec(dllexport)
|
||||
int bIsFirstTime = 1;
|
||||
void _init(); // forward declaration
|
||||
void __attribute__((constructor)) swh_init(); // forward declaration
|
||||
#else
|
||||
#define _WINDOWS_DLL_EXPORT_
|
||||
#endif
|
||||
@@ -365,7 +365,7 @@ static void runAddingBodeShifter(LADSPA_Handle instance, unsigned long sample_co
|
||||
*(plugin_data->latency) = 99;
|
||||
}
|
||||
|
||||
void _init() {
|
||||
void __attribute__((constructor)) swh_init() {
|
||||
char **port_names;
|
||||
LADSPA_PortDescriptor *port_descriptors;
|
||||
LADSPA_PortRangeHint *port_range_hints;
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#ifdef WIN32
|
||||
#define _WINDOWS_DLL_EXPORT_ __declspec(dllexport)
|
||||
int bIsFirstTime = 1;
|
||||
void _init(); // forward declaration
|
||||
void __attribute__((constructor)) swh_init(); // forward declaration
|
||||
#else
|
||||
#define _WINDOWS_DLL_EXPORT_
|
||||
#endif
|
||||
@@ -393,7 +393,7 @@ static void runAddingBodeShifterCV(LADSPA_Handle instance, unsigned long sample_
|
||||
*(plugin_data->latency) = 99;
|
||||
}
|
||||
|
||||
void _init() {
|
||||
void __attribute__((constructor)) swh_init() {
|
||||
char **port_names;
|
||||
LADSPA_PortDescriptor *port_descriptors;
|
||||
LADSPA_PortRangeHint *port_range_hints;
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#ifdef WIN32
|
||||
#define _WINDOWS_DLL_EXPORT_ __declspec(dllexport)
|
||||
int bIsFirstTime = 1;
|
||||
void _init(); // forward declaration
|
||||
void __attribute__((constructor)) swh_init(); // forward declaration
|
||||
#else
|
||||
#define _WINDOWS_DLL_EXPORT_
|
||||
#endif
|
||||
@@ -497,7 +497,7 @@ static void runAddingButthigh_iir(LADSPA_Handle instance, unsigned long sample_c
|
||||
iir_process_buffer_1s_5(iirf, gt, input, output, sample_count,0);
|
||||
}
|
||||
|
||||
void _init() {
|
||||
void __attribute__((constructor)) swh_init() {
|
||||
char **port_names;
|
||||
LADSPA_PortDescriptor *port_descriptors;
|
||||
LADSPA_PortRangeHint *port_range_hints;
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#ifdef WIN32
|
||||
#define _WINDOWS_DLL_EXPORT_ __declspec(dllexport)
|
||||
int bIsFirstTime = 1;
|
||||
void _init(); // forward declaration
|
||||
void __attribute__((constructor)) swh_init(); // forward declaration
|
||||
#else
|
||||
#define _WINDOWS_DLL_EXPORT_
|
||||
#endif
|
||||
@@ -314,7 +314,7 @@ static void runAddingChebstortion(LADSPA_Handle instance, unsigned long sample_c
|
||||
plugin_data->count = count;
|
||||
}
|
||||
|
||||
void _init() {
|
||||
void __attribute__((constructor)) swh_init() {
|
||||
char **port_names;
|
||||
LADSPA_PortDescriptor *port_descriptors;
|
||||
LADSPA_PortRangeHint *port_range_hints;
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#ifdef WIN32
|
||||
#define _WINDOWS_DLL_EXPORT_ __declspec(dllexport)
|
||||
int bIsFirstTime = 1;
|
||||
void _init(); // forward declaration
|
||||
void __attribute__((constructor)) swh_init(); // forward declaration
|
||||
#else
|
||||
#define _WINDOWS_DLL_EXPORT_
|
||||
#endif
|
||||
@@ -251,7 +251,7 @@ static void runAddingComb(LADSPA_Handle instance, unsigned long sample_count) {
|
||||
plugin_data->last_offset = offset;
|
||||
}
|
||||
|
||||
void _init() {
|
||||
void __attribute__((constructor)) swh_init() {
|
||||
char **port_names;
|
||||
LADSPA_PortDescriptor *port_descriptors;
|
||||
LADSPA_PortRangeHint *port_range_hints;
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#ifdef WIN32
|
||||
#define _WINDOWS_DLL_EXPORT_ __declspec(dllexport)
|
||||
int bIsFirstTime = 1;
|
||||
void _init(); // forward declaration
|
||||
void __attribute__((constructor)) swh_init(); // forward declaration
|
||||
#else
|
||||
#define _WINDOWS_DLL_EXPORT_
|
||||
#endif
|
||||
@@ -1094,7 +1094,7 @@ static void runAddingComb_c(LADSPA_Handle instance, unsigned long sample_count)
|
||||
plugin_data->write_phase = write_phase;
|
||||
}
|
||||
|
||||
void _init() {
|
||||
void __attribute__((constructor)) swh_init() {
|
||||
char **port_names;
|
||||
LADSPA_PortDescriptor *port_descriptors;
|
||||
LADSPA_PortRangeHint *port_range_hints;
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#ifdef WIN32
|
||||
#define _WINDOWS_DLL_EXPORT_ __declspec(dllexport)
|
||||
int bIsFirstTime = 1;
|
||||
void _init(); // forward declaration
|
||||
void __attribute__((constructor)) swh_init(); // forward declaration
|
||||
#else
|
||||
#define _WINDOWS_DLL_EXPORT_
|
||||
#endif
|
||||
@@ -255,7 +255,7 @@ static void runAddingCombSplitter(LADSPA_Handle instance, unsigned long sample_c
|
||||
plugin_data->last_offset = offset;
|
||||
}
|
||||
|
||||
void _init() {
|
||||
void __attribute__((constructor)) swh_init() {
|
||||
char **port_names;
|
||||
LADSPA_PortDescriptor *port_descriptors;
|
||||
LADSPA_PortRangeHint *port_range_hints;
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#ifdef WIN32
|
||||
#define _WINDOWS_DLL_EXPORT_ __declspec(dllexport)
|
||||
int bIsFirstTime = 1;
|
||||
void _init(); // forward declaration
|
||||
void __attribute__((constructor)) swh_init(); // forward declaration
|
||||
#else
|
||||
#define _WINDOWS_DLL_EXPORT_
|
||||
#endif
|
||||
@@ -171,7 +171,7 @@ static void runAddingConst(LADSPA_Handle instance, unsigned long sample_count) {
|
||||
plugin_data->last_amp = amp;
|
||||
}
|
||||
|
||||
void _init() {
|
||||
void __attribute__((constructor)) swh_init() {
|
||||
char **port_names;
|
||||
LADSPA_PortDescriptor *port_descriptors;
|
||||
LADSPA_PortRangeHint *port_range_hints;
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#ifdef WIN32
|
||||
#define _WINDOWS_DLL_EXPORT_ __declspec(dllexport)
|
||||
int bIsFirstTime = 1;
|
||||
void _init(); // forward declaration
|
||||
void __attribute__((constructor)) swh_init(); // forward declaration
|
||||
#else
|
||||
#define _WINDOWS_DLL_EXPORT_
|
||||
#endif
|
||||
@@ -187,7 +187,7 @@ static void runAddingCrossoverDist(LADSPA_Handle instance, unsigned long sample_
|
||||
}
|
||||
}
|
||||
|
||||
void _init() {
|
||||
void __attribute__((constructor)) swh_init() {
|
||||
char **port_names;
|
||||
LADSPA_PortDescriptor *port_descriptors;
|
||||
LADSPA_PortRangeHint *port_range_hints;
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#ifdef WIN32
|
||||
#define _WINDOWS_DLL_EXPORT_ __declspec(dllexport)
|
||||
int bIsFirstTime = 1;
|
||||
void _init(); // forward declaration
|
||||
void __attribute__((constructor)) swh_init(); // forward declaration
|
||||
#else
|
||||
#define _WINDOWS_DLL_EXPORT_
|
||||
#endif
|
||||
@@ -166,7 +166,7 @@ static void runAddingDcRemove(LADSPA_Handle instance, unsigned long sample_count
|
||||
plugin_data->otm1 = otm1;
|
||||
}
|
||||
|
||||
void _init() {
|
||||
void __attribute__((constructor)) swh_init() {
|
||||
char **port_names;
|
||||
LADSPA_PortDescriptor *port_descriptors;
|
||||
LADSPA_PortRangeHint *port_range_hints;
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#ifdef WIN32
|
||||
#define _WINDOWS_DLL_EXPORT_ __declspec(dllexport)
|
||||
int bIsFirstTime = 1;
|
||||
void _init(); // forward declaration
|
||||
void __attribute__((constructor)) swh_init(); // forward declaration
|
||||
#else
|
||||
#define _WINDOWS_DLL_EXPORT_
|
||||
#endif
|
||||
@@ -247,7 +247,7 @@ static void runAddingDecay(LADSPA_Handle instance, unsigned long sample_count) {
|
||||
plugin_data->y = y;
|
||||
}
|
||||
|
||||
void _init() {
|
||||
void __attribute__((constructor)) swh_init() {
|
||||
char **port_names;
|
||||
LADSPA_PortDescriptor *port_descriptors;
|
||||
LADSPA_PortRangeHint *port_range_hints;
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#ifdef WIN32
|
||||
#define _WINDOWS_DLL_EXPORT_ __declspec(dllexport)
|
||||
int bIsFirstTime = 1;
|
||||
void _init(); // forward declaration
|
||||
void __attribute__((constructor)) swh_init(); // forward declaration
|
||||
#else
|
||||
#define _WINDOWS_DLL_EXPORT_
|
||||
#endif
|
||||
@@ -240,7 +240,7 @@ static void runAddingDecimator(LADSPA_Handle instance, unsigned long sample_coun
|
||||
plugin_data->count = count;
|
||||
}
|
||||
|
||||
void _init() {
|
||||
void __attribute__((constructor)) swh_init() {
|
||||
char **port_names;
|
||||
LADSPA_PortDescriptor *port_descriptors;
|
||||
LADSPA_PortRangeHint *port_range_hints;
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#ifdef WIN32
|
||||
#define _WINDOWS_DLL_EXPORT_ __declspec(dllexport)
|
||||
int bIsFirstTime = 1;
|
||||
void _init(); // forward declaration
|
||||
void __attribute__((constructor)) swh_init(); // forward declaration
|
||||
#else
|
||||
#define _WINDOWS_DLL_EXPORT_
|
||||
#endif
|
||||
@@ -160,7 +160,7 @@ static void runAddingDeclip(LADSPA_Handle instance, unsigned long sample_count)
|
||||
}
|
||||
}
|
||||
|
||||
void _init() {
|
||||
void __attribute__((constructor)) swh_init() {
|
||||
char **port_names;
|
||||
LADSPA_PortDescriptor *port_descriptors;
|
||||
LADSPA_PortRangeHint *port_range_hints;
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#ifdef WIN32
|
||||
#define _WINDOWS_DLL_EXPORT_ __declspec(dllexport)
|
||||
int bIsFirstTime = 1;
|
||||
void _init(); // forward declaration
|
||||
void __attribute__((constructor)) swh_init(); // forward declaration
|
||||
#else
|
||||
#define _WINDOWS_DLL_EXPORT_
|
||||
#endif
|
||||
@@ -862,7 +862,7 @@ static void runAddingDelay_c(LADSPA_Handle instance, unsigned long sample_count)
|
||||
plugin_data->write_phase = write_phase;
|
||||
}
|
||||
|
||||
void _init() {
|
||||
void __attribute__((constructor)) swh_init() {
|
||||
char **port_names;
|
||||
LADSPA_PortDescriptor *port_descriptors;
|
||||
LADSPA_PortRangeHint *port_range_hints;
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#ifdef WIN32
|
||||
#define _WINDOWS_DLL_EXPORT_ __declspec(dllexport)
|
||||
int bIsFirstTime = 1;
|
||||
void _init(); // forward declaration
|
||||
void __attribute__((constructor)) swh_init(); // forward declaration
|
||||
#else
|
||||
#define _WINDOWS_DLL_EXPORT_
|
||||
#endif
|
||||
@@ -668,7 +668,7 @@ static void runAddingDelayorama(LADSPA_Handle instance, unsigned long sample_cou
|
||||
plugin_data->last_out = out;
|
||||
}
|
||||
|
||||
void _init() {
|
||||
void __attribute__((constructor)) swh_init() {
|
||||
char **port_names;
|
||||
LADSPA_PortDescriptor *port_descriptors;
|
||||
LADSPA_PortRangeHint *port_range_hints;
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#ifdef WIN32
|
||||
#define _WINDOWS_DLL_EXPORT_ __declspec(dllexport)
|
||||
int bIsFirstTime = 1;
|
||||
void _init(); // forward declaration
|
||||
void __attribute__((constructor)) swh_init(); // forward declaration
|
||||
#else
|
||||
#define _WINDOWS_DLL_EXPORT_
|
||||
#endif
|
||||
@@ -185,7 +185,7 @@ static void runAddingDiode(LADSPA_Handle instance, unsigned long sample_count) {
|
||||
}
|
||||
}
|
||||
|
||||
void _init() {
|
||||
void __attribute__((constructor)) swh_init() {
|
||||
char **port_names;
|
||||
LADSPA_PortDescriptor *port_descriptors;
|
||||
LADSPA_PortRangeHint *port_range_hints;
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#ifdef WIN32
|
||||
#define _WINDOWS_DLL_EXPORT_ __declspec(dllexport)
|
||||
int bIsFirstTime = 1;
|
||||
void _init(); // forward declaration
|
||||
void __attribute__((constructor)) swh_init(); // forward declaration
|
||||
#else
|
||||
#define _WINDOWS_DLL_EXPORT_
|
||||
#endif
|
||||
@@ -249,7 +249,7 @@ static void runAddingDivider(LADSPA_Handle instance, unsigned long sample_count)
|
||||
plugin_data->out = out;
|
||||
}
|
||||
|
||||
void _init() {
|
||||
void __attribute__((constructor)) swh_init() {
|
||||
char **port_names;
|
||||
LADSPA_PortDescriptor *port_descriptors;
|
||||
LADSPA_PortRangeHint *port_range_hints;
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#ifdef WIN32
|
||||
#define _WINDOWS_DLL_EXPORT_ __declspec(dllexport)
|
||||
int bIsFirstTime = 1;
|
||||
void _init(); // forward declaration
|
||||
void __attribute__((constructor)) swh_init(); // forward declaration
|
||||
#else
|
||||
#define _WINDOWS_DLL_EXPORT_
|
||||
#endif
|
||||
@@ -463,7 +463,7 @@ static void runAddingDj_eq(LADSPA_Handle instance, unsigned long sample_count) {
|
||||
*(plugin_data->latency) = 3; //XXX is this right?
|
||||
}
|
||||
|
||||
void _init() {
|
||||
void __attribute__((constructor)) swh_init() {
|
||||
char **port_names;
|
||||
LADSPA_PortDescriptor *port_descriptors;
|
||||
LADSPA_PortRangeHint *port_range_hints;
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#ifdef WIN32
|
||||
#define _WINDOWS_DLL_EXPORT_ __declspec(dllexport)
|
||||
int bIsFirstTime = 1;
|
||||
void _init(); // forward declaration
|
||||
void __attribute__((constructor)) swh_init(); // forward declaration
|
||||
#else
|
||||
#define _WINDOWS_DLL_EXPORT_
|
||||
#endif
|
||||
@@ -366,7 +366,7 @@ static void runAddingDjFlanger(LADSPA_Handle instance, unsigned long sample_coun
|
||||
plugin_data->buffer_pos = buffer_pos;
|
||||
}
|
||||
|
||||
void _init() {
|
||||
void __attribute__((constructor)) swh_init() {
|
||||
char **port_names;
|
||||
LADSPA_PortDescriptor *port_descriptors;
|
||||
LADSPA_PortRangeHint *port_range_hints;
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#ifdef WIN32
|
||||
#define _WINDOWS_DLL_EXPORT_ __declspec(dllexport)
|
||||
int bIsFirstTime = 1;
|
||||
void _init(); // forward declaration
|
||||
void __attribute__((constructor)) swh_init(); // forward declaration
|
||||
#else
|
||||
#define _WINDOWS_DLL_EXPORT_
|
||||
#endif
|
||||
@@ -776,7 +776,7 @@ static void runAddingDysonCompress(LADSPA_Handle instance, unsigned long sample_
|
||||
plugin_data->extra_maxlevel = extra_maxlevel;
|
||||
}
|
||||
|
||||
void _init() {
|
||||
void __attribute__((constructor)) swh_init() {
|
||||
char **port_names;
|
||||
LADSPA_PortDescriptor *port_descriptors;
|
||||
LADSPA_PortRangeHint *port_range_hints;
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#ifdef WIN32
|
||||
#define _WINDOWS_DLL_EXPORT_ __declspec(dllexport)
|
||||
int bIsFirstTime = 1;
|
||||
void _init(); // forward declaration
|
||||
void __attribute__((constructor)) swh_init(); // forward declaration
|
||||
#else
|
||||
#define _WINDOWS_DLL_EXPORT_
|
||||
#endif
|
||||
@@ -299,7 +299,7 @@ static void runAddingFadDelay(LADSPA_Handle instance, unsigned long sample_count
|
||||
plugin_data->last_in = last_in;
|
||||
}
|
||||
|
||||
void _init() {
|
||||
void __attribute__((constructor)) swh_init() {
|
||||
char **port_names;
|
||||
LADSPA_PortDescriptor *port_descriptors;
|
||||
LADSPA_PortRangeHint *port_range_hints;
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#ifdef WIN32
|
||||
#define _WINDOWS_DLL_EXPORT_ __declspec(dllexport)
|
||||
int bIsFirstTime = 1;
|
||||
void _init(); // forward declaration
|
||||
void __attribute__((constructor)) swh_init(); // forward declaration
|
||||
#else
|
||||
#define _WINDOWS_DLL_EXPORT_
|
||||
#endif
|
||||
@@ -573,7 +573,7 @@ static void runAddingFastLookaheadLimiter(LADSPA_Handle instance, unsigned long
|
||||
*(plugin_data->latency) = delay;
|
||||
}
|
||||
|
||||
void _init() {
|
||||
void __attribute__((constructor)) swh_init() {
|
||||
char **port_names;
|
||||
LADSPA_PortDescriptor *port_descriptors;
|
||||
LADSPA_PortRangeHint *port_range_hints;
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#ifdef WIN32
|
||||
#define _WINDOWS_DLL_EXPORT_ __declspec(dllexport)
|
||||
int bIsFirstTime = 1;
|
||||
void _init(); // forward declaration
|
||||
void __attribute__((constructor)) swh_init(); // forward declaration
|
||||
#else
|
||||
#define _WINDOWS_DLL_EXPORT_
|
||||
#endif
|
||||
@@ -435,7 +435,7 @@ static void runAddingFlanger(LADSPA_Handle instance, unsigned long sample_count)
|
||||
plugin_data->old_d_base = new_d_base;
|
||||
}
|
||||
|
||||
void _init() {
|
||||
void __attribute__((constructor)) swh_init() {
|
||||
char **port_names;
|
||||
LADSPA_PortDescriptor *port_descriptors;
|
||||
LADSPA_PortRangeHint *port_range_hints;
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#ifdef WIN32
|
||||
#define _WINDOWS_DLL_EXPORT_ __declspec(dllexport)
|
||||
int bIsFirstTime = 1;
|
||||
void _init(); // forward declaration
|
||||
void __attribute__((constructor)) swh_init(); // forward declaration
|
||||
#else
|
||||
#define _WINDOWS_DLL_EXPORT_
|
||||
#endif
|
||||
@@ -166,7 +166,7 @@ static void runAddingFoldover(LADSPA_Handle instance, unsigned long sample_count
|
||||
}
|
||||
}
|
||||
|
||||
void _init() {
|
||||
void __attribute__((constructor)) swh_init() {
|
||||
char **port_names;
|
||||
LADSPA_PortDescriptor *port_descriptors;
|
||||
LADSPA_PortRangeHint *port_range_hints;
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#ifdef WIN32
|
||||
#define _WINDOWS_DLL_EXPORT_ __declspec(dllexport)
|
||||
int bIsFirstTime = 1;
|
||||
void _init(); // forward declaration
|
||||
void __attribute__((constructor)) swh_init(); // forward declaration
|
||||
#else
|
||||
#define _WINDOWS_DLL_EXPORT_
|
||||
#endif
|
||||
@@ -155,7 +155,7 @@ static void runAddingFoverdrive(LADSPA_Handle instance, unsigned long sample_cou
|
||||
}
|
||||
}
|
||||
|
||||
void _init() {
|
||||
void __attribute__((constructor)) swh_init() {
|
||||
char **port_names;
|
||||
LADSPA_PortDescriptor *port_descriptors;
|
||||
LADSPA_PortRangeHint *port_range_hints;
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#ifdef WIN32
|
||||
#define _WINDOWS_DLL_EXPORT_ __declspec(dllexport)
|
||||
int bIsFirstTime = 1;
|
||||
void _init(); // forward declaration
|
||||
void __attribute__((constructor)) swh_init(); // forward declaration
|
||||
#else
|
||||
#define _WINDOWS_DLL_EXPORT_
|
||||
#endif
|
||||
@@ -240,7 +240,7 @@ static void runAddingFreqTracker(LADSPA_Handle instance, unsigned long sample_co
|
||||
plugin_data->cross_time = cross_time;
|
||||
}
|
||||
|
||||
void _init() {
|
||||
void __attribute__((constructor)) swh_init() {
|
||||
char **port_names;
|
||||
LADSPA_PortDescriptor *port_descriptors;
|
||||
LADSPA_PortRangeHint *port_range_hints;
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#ifdef WIN32
|
||||
#define _WINDOWS_DLL_EXPORT_ __declspec(dllexport)
|
||||
int bIsFirstTime = 1;
|
||||
void _init(); // forward declaration
|
||||
void __attribute__((constructor)) swh_init(); // forward declaration
|
||||
#else
|
||||
#define _WINDOWS_DLL_EXPORT_
|
||||
#endif
|
||||
@@ -433,7 +433,7 @@ static void runAddingGate(LADSPA_Handle instance, unsigned long sample_count) {
|
||||
plugin_data->hold_count = hold_count;
|
||||
}
|
||||
|
||||
void _init() {
|
||||
void __attribute__((constructor)) swh_init() {
|
||||
char **port_names;
|
||||
LADSPA_PortDescriptor *port_descriptors;
|
||||
LADSPA_PortRangeHint *port_range_hints;
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#ifdef WIN32
|
||||
#define _WINDOWS_DLL_EXPORT_ __declspec(dllexport)
|
||||
int bIsFirstTime = 1;
|
||||
void _init(); // forward declaration
|
||||
void __attribute__((constructor)) swh_init(); // forward declaration
|
||||
#else
|
||||
#define _WINDOWS_DLL_EXPORT_
|
||||
#endif
|
||||
@@ -501,7 +501,7 @@ static void runAddingGiantFlange(LADSPA_Handle instance, unsigned long sample_co
|
||||
plugin_data->buffer_pos = buffer_pos;
|
||||
}
|
||||
|
||||
void _init() {
|
||||
void __attribute__((constructor)) swh_init() {
|
||||
char **port_names;
|
||||
LADSPA_PortDescriptor *port_descriptors;
|
||||
LADSPA_PortRangeHint *port_range_hints;
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#ifdef WIN32
|
||||
#define _WINDOWS_DLL_EXPORT_ __declspec(dllexport)
|
||||
int bIsFirstTime = 1;
|
||||
void _init(); // forward declaration
|
||||
void __attribute__((constructor)) swh_init(); // forward declaration
|
||||
#else
|
||||
#define _WINDOWS_DLL_EXPORT_
|
||||
#endif
|
||||
@@ -608,7 +608,7 @@ static void runAddingGong(LADSPA_Handle instance, unsigned long sample_count) {
|
||||
}
|
||||
}
|
||||
|
||||
void _init() {
|
||||
void __attribute__((constructor)) swh_init() {
|
||||
char **port_names;
|
||||
LADSPA_PortDescriptor *port_descriptors;
|
||||
LADSPA_PortRangeHint *port_range_hints;
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#ifdef WIN32
|
||||
#define _WINDOWS_DLL_EXPORT_ __declspec(dllexport)
|
||||
int bIsFirstTime = 1;
|
||||
void _init(); // forward declaration
|
||||
void __attribute__((constructor)) swh_init(); // forward declaration
|
||||
#else
|
||||
#define _WINDOWS_DLL_EXPORT_
|
||||
#endif
|
||||
@@ -301,7 +301,7 @@ static void runAddingGongBeater(LADSPA_Handle instance, unsigned long sample_cou
|
||||
plugin_data->imp_level = imp_level;
|
||||
}
|
||||
|
||||
void _init() {
|
||||
void __attribute__((constructor)) swh_init() {
|
||||
char **port_names;
|
||||
LADSPA_PortDescriptor *port_descriptors;
|
||||
LADSPA_PortRangeHint *port_range_hints;
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#ifdef WIN32
|
||||
#define _WINDOWS_DLL_EXPORT_ __declspec(dllexport)
|
||||
int bIsFirstTime = 1;
|
||||
void _init(); // forward declaration
|
||||
void __attribute__((constructor)) swh_init(); // forward declaration
|
||||
#else
|
||||
#define _WINDOWS_DLL_EXPORT_
|
||||
#endif
|
||||
@@ -387,7 +387,7 @@ static void runAddingGsm(LADSPA_Handle instance, unsigned long sample_count) {
|
||||
*(plugin_data->latency) = 160 * resamp;
|
||||
}
|
||||
|
||||
void _init() {
|
||||
void __attribute__((constructor)) swh_init() {
|
||||
char **port_names;
|
||||
LADSPA_PortDescriptor *port_descriptors;
|
||||
LADSPA_PortRangeHint *port_range_hints;
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#ifdef WIN32
|
||||
#define _WINDOWS_DLL_EXPORT_ __declspec(dllexport)
|
||||
int bIsFirstTime = 1;
|
||||
void _init(); // forward declaration
|
||||
void __attribute__((constructor)) swh_init(); // forward declaration
|
||||
#else
|
||||
#define _WINDOWS_DLL_EXPORT_
|
||||
#endif
|
||||
@@ -283,7 +283,7 @@ static void runAddingGverb(LADSPA_Handle instance, unsigned long sample_count) {
|
||||
}
|
||||
}
|
||||
|
||||
void _init() {
|
||||
void __attribute__((constructor)) swh_init() {
|
||||
char **port_names;
|
||||
LADSPA_PortDescriptor *port_descriptors;
|
||||
LADSPA_PortRangeHint *port_range_hints;
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#ifdef WIN32
|
||||
#define _WINDOWS_DLL_EXPORT_ __declspec(dllexport)
|
||||
int bIsFirstTime = 1;
|
||||
void _init(); // forward declaration
|
||||
void __attribute__((constructor)) swh_init(); // forward declaration
|
||||
#else
|
||||
#define _WINDOWS_DLL_EXPORT_
|
||||
#endif
|
||||
@@ -187,7 +187,7 @@ static void runAddingHardLimiter(LADSPA_Handle instance, unsigned long sample_co
|
||||
}
|
||||
}
|
||||
|
||||
void _init() {
|
||||
void __attribute__((constructor)) swh_init() {
|
||||
char **port_names;
|
||||
LADSPA_PortDescriptor *port_descriptors;
|
||||
LADSPA_PortRangeHint *port_range_hints;
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#ifdef WIN32
|
||||
#define _WINDOWS_DLL_EXPORT_ __declspec(dllexport)
|
||||
int bIsFirstTime = 1;
|
||||
void _init(); // forward declaration
|
||||
void __attribute__((constructor)) swh_init(); // forward declaration
|
||||
#else
|
||||
#define _WINDOWS_DLL_EXPORT_
|
||||
#endif
|
||||
@@ -367,7 +367,7 @@ static void runAddingHarmonicGen(LADSPA_Handle instance, unsigned long sample_co
|
||||
plugin_data->otm1 = otm1;
|
||||
}
|
||||
|
||||
void _init() {
|
||||
void __attribute__((constructor)) swh_init() {
|
||||
char **port_names;
|
||||
LADSPA_PortDescriptor *port_descriptors;
|
||||
LADSPA_PortRangeHint *port_range_hints;
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#ifdef WIN32
|
||||
#define _WINDOWS_DLL_EXPORT_ __declspec(dllexport)
|
||||
int bIsFirstTime = 1;
|
||||
void _init(); // forward declaration
|
||||
void __attribute__((constructor)) swh_init(); // forward declaration
|
||||
#else
|
||||
#define _WINDOWS_DLL_EXPORT_
|
||||
#endif
|
||||
@@ -1403,7 +1403,7 @@ static void runAddingHermesFilter(LADSPA_Handle instance, unsigned long sample_c
|
||||
plugin_data->lfo2_phase = lfo2_phase;
|
||||
}
|
||||
|
||||
void _init() {
|
||||
void __attribute__((constructor)) swh_init() {
|
||||
char **port_names;
|
||||
LADSPA_PortDescriptor *port_descriptors;
|
||||
LADSPA_PortRangeHint *port_range_hints;
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#ifdef WIN32
|
||||
#define _WINDOWS_DLL_EXPORT_ __declspec(dllexport)
|
||||
int bIsFirstTime = 1;
|
||||
void _init(); // forward declaration
|
||||
void __attribute__((constructor)) swh_init(); // forward declaration
|
||||
#else
|
||||
#define _WINDOWS_DLL_EXPORT_
|
||||
#endif
|
||||
@@ -189,7 +189,7 @@ static void runAddingHighpass_iir(LADSPA_Handle instance, unsigned long sample_c
|
||||
iir_process_buffer_ns_5(iirf, gt, input, output, sample_count,RUN_ADDING);
|
||||
}
|
||||
|
||||
void _init() {
|
||||
void __attribute__((constructor)) swh_init() {
|
||||
char **port_names;
|
||||
LADSPA_PortDescriptor *port_descriptors;
|
||||
LADSPA_PortRangeHint *port_range_hints;
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#ifdef WIN32
|
||||
#define _WINDOWS_DLL_EXPORT_ __declspec(dllexport)
|
||||
int bIsFirstTime = 1;
|
||||
void _init(); // forward declaration
|
||||
void __attribute__((constructor)) swh_init(); // forward declaration
|
||||
#else
|
||||
#define _WINDOWS_DLL_EXPORT_
|
||||
#endif
|
||||
@@ -233,7 +233,7 @@ static void runAddingHilbert(LADSPA_Handle instance, unsigned long sample_count)
|
||||
*(plugin_data->latency) = 99;
|
||||
}
|
||||
|
||||
void _init() {
|
||||
void __attribute__((constructor)) swh_init() {
|
||||
char **port_names;
|
||||
LADSPA_PortDescriptor *port_descriptors;
|
||||
LADSPA_PortRangeHint *port_range_hints;
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#ifdef WIN32
|
||||
#define _WINDOWS_DLL_EXPORT_ __declspec(dllexport)
|
||||
int bIsFirstTime = 1;
|
||||
void _init(); // forward declaration
|
||||
void __attribute__((constructor)) swh_init(); // forward declaration
|
||||
#else
|
||||
#define _WINDOWS_DLL_EXPORT_
|
||||
#endif
|
||||
@@ -522,7 +522,7 @@ static void runAddingImp(LADSPA_Handle instance, unsigned long sample_count) {
|
||||
*(plugin_data->latency) = SEG_LENGTH;
|
||||
}
|
||||
|
||||
void _init() {
|
||||
void __attribute__((constructor)) swh_init() {
|
||||
char **port_names;
|
||||
LADSPA_PortDescriptor *port_descriptors;
|
||||
LADSPA_PortRangeHint *port_range_hints;
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#ifdef WIN32
|
||||
#define _WINDOWS_DLL_EXPORT_ __declspec(dllexport)
|
||||
int bIsFirstTime = 1;
|
||||
void _init(); // forward declaration
|
||||
void __attribute__((constructor)) swh_init(); // forward declaration
|
||||
#else
|
||||
#define _WINDOWS_DLL_EXPORT_
|
||||
#endif
|
||||
@@ -186,7 +186,7 @@ static void runAddingImpulse_fc(LADSPA_Handle instance, unsigned long sample_cou
|
||||
plugin_data->phase = phase;
|
||||
}
|
||||
|
||||
void _init() {
|
||||
void __attribute__((constructor)) swh_init() {
|
||||
char **port_names;
|
||||
LADSPA_PortDescriptor *port_descriptors;
|
||||
LADSPA_PortRangeHint *port_range_hints;
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#ifdef WIN32
|
||||
#define _WINDOWS_DLL_EXPORT_ __declspec(dllexport)
|
||||
int bIsFirstTime = 1;
|
||||
void _init(); // forward declaration
|
||||
void __attribute__((constructor)) swh_init(); // forward declaration
|
||||
#else
|
||||
#define _WINDOWS_DLL_EXPORT_
|
||||
#endif
|
||||
@@ -138,7 +138,7 @@ static void runAddingInv(LADSPA_Handle instance, unsigned long sample_count) {
|
||||
}
|
||||
}
|
||||
|
||||
void _init() {
|
||||
void __attribute__((constructor)) swh_init() {
|
||||
char **port_names;
|
||||
LADSPA_PortDescriptor *port_descriptors;
|
||||
LADSPA_PortRangeHint *port_range_hints;
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#ifdef WIN32
|
||||
#define _WINDOWS_DLL_EXPORT_ __declspec(dllexport)
|
||||
int bIsFirstTime = 1;
|
||||
void _init(); // forward declaration
|
||||
void __attribute__((constructor)) swh_init(); // forward declaration
|
||||
#else
|
||||
#define _WINDOWS_DLL_EXPORT_
|
||||
#endif
|
||||
@@ -181,7 +181,7 @@ static void runAddingKaraoke(LADSPA_Handle instance, unsigned long sample_count)
|
||||
}
|
||||
}
|
||||
|
||||
void _init() {
|
||||
void __attribute__((constructor)) swh_init() {
|
||||
char **port_names;
|
||||
LADSPA_PortDescriptor *port_descriptors;
|
||||
LADSPA_PortRangeHint *port_range_hints;
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#ifdef WIN32
|
||||
#define _WINDOWS_DLL_EXPORT_ __declspec(dllexport)
|
||||
int bIsFirstTime = 1;
|
||||
void _init(); // forward declaration
|
||||
void __attribute__((constructor)) swh_init(); // forward declaration
|
||||
#else
|
||||
#define _WINDOWS_DLL_EXPORT_
|
||||
#endif
|
||||
@@ -173,7 +173,7 @@ static void runAddingArtificialLatency(LADSPA_Handle instance, unsigned long sam
|
||||
*(plugin_data->latency) = (float)delay_fr;
|
||||
}
|
||||
|
||||
void _init() {
|
||||
void __attribute__((constructor)) swh_init() {
|
||||
char **port_names;
|
||||
LADSPA_PortDescriptor *port_descriptors;
|
||||
LADSPA_PortRangeHint *port_range_hints;
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#ifdef WIN32
|
||||
#define _WINDOWS_DLL_EXPORT_ __declspec(dllexport)
|
||||
int bIsFirstTime = 1;
|
||||
void _init(); // forward declaration
|
||||
void __attribute__((constructor)) swh_init(); // forward declaration
|
||||
#else
|
||||
#define _WINDOWS_DLL_EXPORT_
|
||||
#endif
|
||||
@@ -540,7 +540,7 @@ static void runAddingLcrDelay(LADSPA_Handle instance, unsigned long sample_count
|
||||
plugin_data->buffer_pos = buffer_pos;
|
||||
}
|
||||
|
||||
void _init() {
|
||||
void __attribute__((constructor)) swh_init() {
|
||||
char **port_names;
|
||||
LADSPA_PortDescriptor *port_descriptors;
|
||||
LADSPA_PortRangeHint *port_range_hints;
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#ifdef WIN32
|
||||
#define _WINDOWS_DLL_EXPORT_ __declspec(dllexport)
|
||||
int bIsFirstTime = 1;
|
||||
void _init(); // forward declaration
|
||||
void __attribute__((constructor)) swh_init(); // forward declaration
|
||||
#else
|
||||
#define _WINDOWS_DLL_EXPORT_
|
||||
#endif
|
||||
@@ -191,7 +191,7 @@ static void runAddingLowpass_iir(LADSPA_Handle instance, unsigned long sample_co
|
||||
iir_process_buffer_ns_5(iirf, gt, input, output, sample_count,RUN_ADDING);
|
||||
}
|
||||
|
||||
void _init() {
|
||||
void __attribute__((constructor)) swh_init() {
|
||||
char **port_names;
|
||||
LADSPA_PortDescriptor *port_descriptors;
|
||||
LADSPA_PortRangeHint *port_range_hints;
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#ifdef WIN32
|
||||
#define _WINDOWS_DLL_EXPORT_ __declspec(dllexport)
|
||||
int bIsFirstTime = 1;
|
||||
void _init(); // forward declaration
|
||||
void __attribute__((constructor)) swh_init(); // forward declaration
|
||||
#else
|
||||
#define _WINDOWS_DLL_EXPORT_
|
||||
#endif
|
||||
@@ -209,7 +209,7 @@ static void runAddingLsFilter(LADSPA_Handle instance, unsigned long sample_count
|
||||
}
|
||||
}
|
||||
|
||||
void _init() {
|
||||
void __attribute__((constructor)) swh_init() {
|
||||
char **port_names;
|
||||
LADSPA_PortDescriptor *port_descriptors;
|
||||
LADSPA_PortRangeHint *port_range_hints;
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#ifdef WIN32
|
||||
#define _WINDOWS_DLL_EXPORT_ __declspec(dllexport)
|
||||
int bIsFirstTime = 1;
|
||||
void _init(); // forward declaration
|
||||
void __attribute__((constructor)) swh_init(); // forward declaration
|
||||
#else
|
||||
#define _WINDOWS_DLL_EXPORT_
|
||||
#endif
|
||||
@@ -173,7 +173,7 @@ static void runAddingMatrixMSSt(LADSPA_Handle instance, unsigned long sample_cou
|
||||
}
|
||||
}
|
||||
|
||||
void _init() {
|
||||
void __attribute__((constructor)) swh_init() {
|
||||
char **port_names;
|
||||
LADSPA_PortDescriptor *port_descriptors;
|
||||
LADSPA_PortRangeHint *port_range_hints;
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#ifdef WIN32
|
||||
#define _WINDOWS_DLL_EXPORT_ __declspec(dllexport)
|
||||
int bIsFirstTime = 1;
|
||||
void _init(); // forward declaration
|
||||
void __attribute__((constructor)) swh_init(); // forward declaration
|
||||
#else
|
||||
#define _WINDOWS_DLL_EXPORT_
|
||||
#endif
|
||||
@@ -331,7 +331,7 @@ static void runAddingMatrixSpatialiser(LADSPA_Handle instance, unsigned long sam
|
||||
plugin_data->current_s_gain = current_s_gain;
|
||||
}
|
||||
|
||||
void _init() {
|
||||
void __attribute__((constructor)) swh_init() {
|
||||
char **port_names;
|
||||
LADSPA_PortDescriptor *port_descriptors;
|
||||
LADSPA_PortRangeHint *port_range_hints;
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#ifdef WIN32
|
||||
#define _WINDOWS_DLL_EXPORT_ __declspec(dllexport)
|
||||
int bIsFirstTime = 1;
|
||||
void _init(); // forward declaration
|
||||
void __attribute__((constructor)) swh_init(); // forward declaration
|
||||
#else
|
||||
#define _WINDOWS_DLL_EXPORT_
|
||||
#endif
|
||||
@@ -162,7 +162,7 @@ static void runAddingMatrixStMS(LADSPA_Handle instance, unsigned long sample_cou
|
||||
}
|
||||
}
|
||||
|
||||
void _init() {
|
||||
void __attribute__((constructor)) swh_init() {
|
||||
char **port_names;
|
||||
LADSPA_PortDescriptor *port_descriptors;
|
||||
LADSPA_PortRangeHint *port_range_hints;
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#ifdef WIN32
|
||||
#define _WINDOWS_DLL_EXPORT_ __declspec(dllexport)
|
||||
int bIsFirstTime = 1;
|
||||
void _init(); // forward declaration
|
||||
void __attribute__((constructor)) swh_init(); // forward declaration
|
||||
#else
|
||||
#define _WINDOWS_DLL_EXPORT_
|
||||
#endif
|
||||
@@ -659,7 +659,7 @@ static void runAddingMbeq(LADSPA_Handle instance, unsigned long sample_count) {
|
||||
*(plugin_data->latency) = fft_latency;
|
||||
}
|
||||
|
||||
void _init() {
|
||||
void __attribute__((constructor)) swh_init() {
|
||||
char **port_names;
|
||||
LADSPA_PortDescriptor *port_descriptors;
|
||||
LADSPA_PortRangeHint *port_range_hints;
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#ifdef WIN32
|
||||
#define _WINDOWS_DLL_EXPORT_ __declspec(dllexport)
|
||||
int bIsFirstTime = 1;
|
||||
void _init(); // forward declaration
|
||||
void __attribute__((constructor)) swh_init(); // forward declaration
|
||||
#else
|
||||
#define _WINDOWS_DLL_EXPORT_
|
||||
#endif
|
||||
@@ -229,7 +229,7 @@ static void runAddingModDelay(LADSPA_Handle instance, unsigned long sample_count
|
||||
plugin_data->write_ptr = write_ptr;
|
||||
}
|
||||
|
||||
void _init() {
|
||||
void __attribute__((constructor)) swh_init() {
|
||||
char **port_names;
|
||||
LADSPA_PortDescriptor *port_descriptors;
|
||||
LADSPA_PortRangeHint *port_range_hints;
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#ifdef WIN32
|
||||
#define _WINDOWS_DLL_EXPORT_ __declspec(dllexport)
|
||||
int bIsFirstTime = 1;
|
||||
void _init(); // forward declaration
|
||||
void __attribute__((constructor)) swh_init(); // forward declaration
|
||||
#else
|
||||
#define _WINDOWS_DLL_EXPORT_
|
||||
#endif
|
||||
@@ -527,7 +527,7 @@ static void runAddingMultivoiceChorus(LADSPA_Handle instance, unsigned long samp
|
||||
plugin_data->delay_pos = delay_pos;
|
||||
}
|
||||
|
||||
void _init() {
|
||||
void __attribute__((constructor)) swh_init() {
|
||||
char **port_names;
|
||||
LADSPA_PortDescriptor *port_descriptors;
|
||||
LADSPA_PortRangeHint *port_range_hints;
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#ifdef WIN32
|
||||
#define _WINDOWS_DLL_EXPORT_ __declspec(dllexport)
|
||||
int bIsFirstTime = 1;
|
||||
void _init(); // forward declaration
|
||||
void __attribute__((constructor)) swh_init(); // forward declaration
|
||||
#else
|
||||
#define _WINDOWS_DLL_EXPORT_
|
||||
#endif
|
||||
@@ -244,7 +244,7 @@ static void runAddingNotch_iir(LADSPA_Handle instance, unsigned long sample_coun
|
||||
iir_process_buffer_ns_5(iirf2, second, input, output, sample_count, 1); /* add to first buffer */
|
||||
}
|
||||
|
||||
void _init() {
|
||||
void __attribute__((constructor)) swh_init() {
|
||||
char **port_names;
|
||||
LADSPA_PortDescriptor *port_descriptors;
|
||||
LADSPA_PortRangeHint *port_range_hints;
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#ifdef WIN32
|
||||
#define _WINDOWS_DLL_EXPORT_ __declspec(dllexport)
|
||||
int bIsFirstTime = 1;
|
||||
void _init(); // forward declaration
|
||||
void __attribute__((constructor)) swh_init(); // forward declaration
|
||||
#else
|
||||
#define _WINDOWS_DLL_EXPORT_
|
||||
#endif
|
||||
@@ -1030,7 +1030,7 @@ static void runAddingAutoPhaser(LADSPA_Handle instance, unsigned long sample_cou
|
||||
plugin_data->ym1 = ym1;
|
||||
}
|
||||
|
||||
void _init() {
|
||||
void __attribute__((constructor)) swh_init() {
|
||||
char **port_names;
|
||||
LADSPA_PortDescriptor *port_descriptors;
|
||||
LADSPA_PortRangeHint *port_range_hints;
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#ifdef WIN32
|
||||
#define _WINDOWS_DLL_EXPORT_ __declspec(dllexport)
|
||||
int bIsFirstTime = 1;
|
||||
void _init(); // forward declaration
|
||||
void __attribute__((constructor)) swh_init(); // forward declaration
|
||||
#else
|
||||
#define _WINDOWS_DLL_EXPORT_
|
||||
#endif
|
||||
@@ -241,7 +241,7 @@ static void runAddingPitchScale(LADSPA_Handle instance, unsigned long sample_cou
|
||||
OVER_SAMP);
|
||||
}
|
||||
|
||||
void _init() {
|
||||
void __attribute__((constructor)) swh_init() {
|
||||
char **port_names;
|
||||
LADSPA_PortDescriptor *port_descriptors;
|
||||
LADSPA_PortRangeHint *port_range_hints;
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#ifdef WIN32
|
||||
#define _WINDOWS_DLL_EXPORT_ __declspec(dllexport)
|
||||
int bIsFirstTime = 1;
|
||||
void _init(); // forward declaration
|
||||
void __attribute__((constructor)) swh_init(); // forward declaration
|
||||
#else
|
||||
#define _WINDOWS_DLL_EXPORT_
|
||||
#endif
|
||||
@@ -225,7 +225,7 @@ static void runAddingPitchScaleHQ(LADSPA_Handle instance, unsigned long sample_c
|
||||
/ OVER_SAMP);
|
||||
}
|
||||
|
||||
void _init() {
|
||||
void __attribute__((constructor)) swh_init() {
|
||||
char **port_names;
|
||||
LADSPA_PortDescriptor *port_descriptors;
|
||||
LADSPA_PortRangeHint *port_range_hints;
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#ifdef WIN32
|
||||
#define _WINDOWS_DLL_EXPORT_ __declspec(dllexport)
|
||||
int bIsFirstTime = 1;
|
||||
void _init(); // forward declaration
|
||||
void __attribute__((constructor)) swh_init(); // forward declaration
|
||||
#else
|
||||
#define _WINDOWS_DLL_EXPORT_
|
||||
#endif
|
||||
@@ -295,7 +295,7 @@ static void runAddingPlate(LADSPA_Handle instance, unsigned long sample_count) {
|
||||
}
|
||||
}
|
||||
|
||||
void _init() {
|
||||
void __attribute__((constructor)) swh_init() {
|
||||
char **port_names;
|
||||
LADSPA_PortDescriptor *port_descriptors;
|
||||
LADSPA_PortRangeHint *port_range_hints;
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#ifdef WIN32
|
||||
#define _WINDOWS_DLL_EXPORT_ __declspec(dllexport)
|
||||
int bIsFirstTime = 1;
|
||||
void _init(); // forward declaration
|
||||
void __attribute__((constructor)) swh_init(); // forward declaration
|
||||
#else
|
||||
#define _WINDOWS_DLL_EXPORT_
|
||||
#endif
|
||||
@@ -221,7 +221,7 @@ static void runAddingPointerCastDistortion(LADSPA_Handle instance, unsigned long
|
||||
}
|
||||
}
|
||||
|
||||
void _init() {
|
||||
void __attribute__((constructor)) swh_init() {
|
||||
char **port_names;
|
||||
LADSPA_PortDescriptor *port_descriptors;
|
||||
LADSPA_PortRangeHint *port_range_hints;
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#ifdef WIN32
|
||||
#define _WINDOWS_DLL_EXPORT_ __declspec(dllexport)
|
||||
int bIsFirstTime = 1;
|
||||
void _init(); // forward declaration
|
||||
void __attribute__((constructor)) swh_init(); // forward declaration
|
||||
#else
|
||||
#define _WINDOWS_DLL_EXPORT_
|
||||
#endif
|
||||
@@ -235,7 +235,7 @@ static void runAddingRateShifter(LADSPA_Handle instance, unsigned long sample_co
|
||||
plugin_data->write_ptr = write_ptr;
|
||||
}
|
||||
|
||||
void _init() {
|
||||
void __attribute__((constructor)) swh_init() {
|
||||
char **port_names;
|
||||
LADSPA_PortDescriptor *port_descriptors;
|
||||
LADSPA_PortRangeHint *port_range_hints;
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#ifdef WIN32
|
||||
#define _WINDOWS_DLL_EXPORT_ __declspec(dllexport)
|
||||
int bIsFirstTime = 1;
|
||||
void _init(); // forward declaration
|
||||
void __attribute__((constructor)) swh_init(); // forward declaration
|
||||
#else
|
||||
#define _WINDOWS_DLL_EXPORT_
|
||||
#endif
|
||||
@@ -492,7 +492,7 @@ static void runAddingRetroFlange(LADSPA_Handle instance, unsigned long sample_co
|
||||
plugin_data->z2 = z2;
|
||||
}
|
||||
|
||||
void _init() {
|
||||
void __attribute__((constructor)) swh_init() {
|
||||
char **port_names;
|
||||
LADSPA_PortDescriptor *port_descriptors;
|
||||
LADSPA_PortRangeHint *port_range_hints;
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#ifdef WIN32
|
||||
#define _WINDOWS_DLL_EXPORT_ __declspec(dllexport)
|
||||
int bIsFirstTime = 1;
|
||||
void _init(); // forward declaration
|
||||
void __attribute__((constructor)) swh_init(); // forward declaration
|
||||
#else
|
||||
#define _WINDOWS_DLL_EXPORT_
|
||||
#endif
|
||||
@@ -421,7 +421,7 @@ static void runAddingRevdelay(LADSPA_Handle instance, unsigned long sample_count
|
||||
plugin_data->write_phase = write_phase;
|
||||
}
|
||||
|
||||
void _init() {
|
||||
void __attribute__((constructor)) swh_init() {
|
||||
char **port_names;
|
||||
LADSPA_PortDescriptor *port_descriptors;
|
||||
LADSPA_PortRangeHint *port_range_hints;
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#ifdef WIN32
|
||||
#define _WINDOWS_DLL_EXPORT_ __declspec(dllexport)
|
||||
int bIsFirstTime = 1;
|
||||
void _init(); // forward declaration
|
||||
void __attribute__((constructor)) swh_init(); // forward declaration
|
||||
#else
|
||||
#define _WINDOWS_DLL_EXPORT_
|
||||
#endif
|
||||
@@ -429,7 +429,7 @@ static void runAddingRingmod_1i1o1l(LADSPA_Handle instance, unsigned long sample
|
||||
plugin_data->offset = offset;
|
||||
}
|
||||
|
||||
void _init() {
|
||||
void __attribute__((constructor)) swh_init() {
|
||||
char **port_names;
|
||||
LADSPA_PortDescriptor *port_descriptors;
|
||||
LADSPA_PortRangeHint *port_range_hints;
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#ifdef WIN32
|
||||
#define _WINDOWS_DLL_EXPORT_ __declspec(dllexport)
|
||||
int bIsFirstTime = 1;
|
||||
void _init(); // forward declaration
|
||||
void __attribute__((constructor)) swh_init(); // forward declaration
|
||||
#else
|
||||
#define _WINDOWS_DLL_EXPORT_
|
||||
#endif
|
||||
@@ -255,7 +255,7 @@ static void runAddingSatanMaximiser(LADSPA_Handle instance, unsigned long sample
|
||||
plugin_data->buffer_pos = buffer_pos;
|
||||
}
|
||||
|
||||
void _init() {
|
||||
void __attribute__((constructor)) swh_init() {
|
||||
char **port_names;
|
||||
LADSPA_PortDescriptor *port_descriptors;
|
||||
LADSPA_PortRangeHint *port_range_hints;
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#ifdef WIN32
|
||||
#define _WINDOWS_DLL_EXPORT_ __declspec(dllexport)
|
||||
int bIsFirstTime = 1;
|
||||
void _init(); // forward declaration
|
||||
void __attribute__((constructor)) swh_init(); // forward declaration
|
||||
#else
|
||||
#define _WINDOWS_DLL_EXPORT_
|
||||
#endif
|
||||
@@ -344,7 +344,7 @@ static void runAddingSc1(LADSPA_Handle instance, unsigned long sample_count) {
|
||||
plugin_data->count = count;
|
||||
}
|
||||
|
||||
void _init() {
|
||||
void __attribute__((constructor)) swh_init() {
|
||||
char **port_names;
|
||||
LADSPA_PortDescriptor *port_descriptors;
|
||||
LADSPA_PortRangeHint *port_range_hints;
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#ifdef WIN32
|
||||
#define _WINDOWS_DLL_EXPORT_ __declspec(dllexport)
|
||||
int bIsFirstTime = 1;
|
||||
void _init(); // forward declaration
|
||||
void __attribute__((constructor)) swh_init(); // forward declaration
|
||||
#else
|
||||
#define _WINDOWS_DLL_EXPORT_
|
||||
#endif
|
||||
@@ -355,7 +355,7 @@ static void runAddingSc2(LADSPA_Handle instance, unsigned long sample_count) {
|
||||
plugin_data->count = count;
|
||||
}
|
||||
|
||||
void _init() {
|
||||
void __attribute__((constructor)) swh_init() {
|
||||
char **port_names;
|
||||
LADSPA_PortDescriptor *port_descriptors;
|
||||
LADSPA_PortRangeHint *port_range_hints;
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#ifdef WIN32
|
||||
#define _WINDOWS_DLL_EXPORT_ __declspec(dllexport)
|
||||
int bIsFirstTime = 1;
|
||||
void _init(); // forward declaration
|
||||
void __attribute__((constructor)) swh_init(); // forward declaration
|
||||
#else
|
||||
#define _WINDOWS_DLL_EXPORT_
|
||||
#endif
|
||||
@@ -402,7 +402,7 @@ static void runAddingSc3(LADSPA_Handle instance, unsigned long sample_count) {
|
||||
plugin_data->count = count;
|
||||
}
|
||||
|
||||
void _init() {
|
||||
void __attribute__((constructor)) swh_init() {
|
||||
char **port_names;
|
||||
LADSPA_PortDescriptor *port_descriptors;
|
||||
LADSPA_PortRangeHint *port_range_hints;
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#ifdef WIN32
|
||||
#define _WINDOWS_DLL_EXPORT_ __declspec(dllexport)
|
||||
int bIsFirstTime = 1;
|
||||
void _init(); // forward declaration
|
||||
void __attribute__((constructor)) swh_init(); // forward declaration
|
||||
#else
|
||||
#define _WINDOWS_DLL_EXPORT_
|
||||
#endif
|
||||
@@ -445,7 +445,7 @@ static void runAddingSc4(LADSPA_Handle instance, unsigned long sample_count) {
|
||||
*(plugin_data->gain_red) = lin2db(gain);
|
||||
}
|
||||
|
||||
void _init() {
|
||||
void __attribute__((constructor)) swh_init() {
|
||||
char **port_names;
|
||||
LADSPA_PortDescriptor *port_descriptors;
|
||||
LADSPA_PortRangeHint *port_range_hints;
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#ifdef WIN32
|
||||
#define _WINDOWS_DLL_EXPORT_ __declspec(dllexport)
|
||||
int bIsFirstTime = 1;
|
||||
void _init(); // forward declaration
|
||||
void __attribute__((constructor)) swh_init(); // forward declaration
|
||||
#else
|
||||
#define _WINDOWS_DLL_EXPORT_
|
||||
#endif
|
||||
@@ -409,7 +409,7 @@ static void runAddingSc4m(LADSPA_Handle instance, unsigned long sample_count) {
|
||||
*(plugin_data->gain_red) = lin2db(gain);
|
||||
}
|
||||
|
||||
void _init() {
|
||||
void __attribute__((constructor)) swh_init() {
|
||||
char **port_names;
|
||||
LADSPA_PortDescriptor *port_descriptors;
|
||||
LADSPA_PortRangeHint *port_range_hints;
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#ifdef WIN32
|
||||
#define _WINDOWS_DLL_EXPORT_ __declspec(dllexport)
|
||||
int bIsFirstTime = 1;
|
||||
void _init(); // forward declaration
|
||||
void __attribute__((constructor)) swh_init(); // forward declaration
|
||||
#else
|
||||
#define _WINDOWS_DLL_EXPORT_
|
||||
#endif
|
||||
@@ -441,7 +441,7 @@ static void runAddingSe4(LADSPA_Handle instance, unsigned long sample_count) {
|
||||
*(plugin_data->gain_exp) = lin2db(gain);
|
||||
}
|
||||
|
||||
void _init() {
|
||||
void __attribute__((constructor)) swh_init() {
|
||||
char **port_names;
|
||||
LADSPA_PortDescriptor *port_descriptors;
|
||||
LADSPA_PortRangeHint *port_range_hints;
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#ifdef WIN32
|
||||
#define _WINDOWS_DLL_EXPORT_ __declspec(dllexport)
|
||||
int bIsFirstTime = 1;
|
||||
void _init(); // forward declaration
|
||||
void __attribute__((constructor)) swh_init(); // forward declaration
|
||||
#else
|
||||
#define _WINDOWS_DLL_EXPORT_
|
||||
#endif
|
||||
@@ -175,7 +175,7 @@ static void runAddingShaper(LADSPA_Handle instance, unsigned long sample_count)
|
||||
}
|
||||
}
|
||||
|
||||
void _init() {
|
||||
void __attribute__((constructor)) swh_init() {
|
||||
char **port_names;
|
||||
LADSPA_PortDescriptor *port_descriptors;
|
||||
LADSPA_PortRangeHint *port_range_hints;
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#ifdef WIN32
|
||||
#define _WINDOWS_DLL_EXPORT_ __declspec(dllexport)
|
||||
int bIsFirstTime = 1;
|
||||
void _init(); // forward declaration
|
||||
void __attribute__((constructor)) swh_init(); // forward declaration
|
||||
#else
|
||||
#define _WINDOWS_DLL_EXPORT_
|
||||
#endif
|
||||
@@ -359,7 +359,7 @@ static void runAddingSifter(LADSPA_Handle instance, unsigned long sample_count)
|
||||
plugin_data->b2ptr = b2ptr;
|
||||
}
|
||||
|
||||
void _init() {
|
||||
void __attribute__((constructor)) swh_init() {
|
||||
char **port_names;
|
||||
LADSPA_PortDescriptor *port_descriptors;
|
||||
LADSPA_PortRangeHint *port_range_hints;
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#ifdef WIN32
|
||||
#define _WINDOWS_DLL_EXPORT_ __declspec(dllexport)
|
||||
int bIsFirstTime = 1;
|
||||
void _init(); // forward declaration
|
||||
void __attribute__((constructor)) swh_init(); // forward declaration
|
||||
#else
|
||||
#define _WINDOWS_DLL_EXPORT_
|
||||
#endif
|
||||
@@ -207,7 +207,7 @@ static void runAddingSinCos(LADSPA_Handle instance, unsigned long sample_count)
|
||||
plugin_data->last_om = target_om;
|
||||
}
|
||||
|
||||
void _init() {
|
||||
void __attribute__((constructor)) swh_init() {
|
||||
char **port_names;
|
||||
LADSPA_PortDescriptor *port_descriptors;
|
||||
LADSPA_PortRangeHint *port_range_hints;
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#ifdef WIN32
|
||||
#define _WINDOWS_DLL_EXPORT_ __declspec(dllexport)
|
||||
int bIsFirstTime = 1;
|
||||
void _init(); // forward declaration
|
||||
void __attribute__((constructor)) swh_init(); // forward declaration
|
||||
#else
|
||||
#define _WINDOWS_DLL_EXPORT_
|
||||
#endif
|
||||
@@ -207,7 +207,7 @@ static void runAddingSinglePara(LADSPA_Handle instance, unsigned long sample_cou
|
||||
}
|
||||
}
|
||||
|
||||
void _init() {
|
||||
void __attribute__((constructor)) swh_init() {
|
||||
char **port_names;
|
||||
LADSPA_PortDescriptor *port_descriptors;
|
||||
LADSPA_PortRangeHint *port_range_hints;
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#ifdef WIN32
|
||||
#define _WINDOWS_DLL_EXPORT_ __declspec(dllexport)
|
||||
int bIsFirstTime = 1;
|
||||
void _init(); // forward declaration
|
||||
void __attribute__((constructor)) swh_init(); // forward declaration
|
||||
#else
|
||||
#define _WINDOWS_DLL_EXPORT_
|
||||
#endif
|
||||
@@ -159,7 +159,7 @@ static void runAddingSinusWavewrapper(LADSPA_Handle instance, unsigned long samp
|
||||
}
|
||||
}
|
||||
|
||||
void _init() {
|
||||
void __attribute__((constructor)) swh_init() {
|
||||
char **port_names;
|
||||
LADSPA_PortDescriptor *port_descriptors;
|
||||
LADSPA_PortRangeHint *port_range_hints;
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#ifdef WIN32
|
||||
#define _WINDOWS_DLL_EXPORT_ __declspec(dllexport)
|
||||
int bIsFirstTime = 1;
|
||||
void _init(); // forward declaration
|
||||
void __attribute__((constructor)) swh_init(); // forward declaration
|
||||
#else
|
||||
#define _WINDOWS_DLL_EXPORT_
|
||||
#endif
|
||||
@@ -240,7 +240,7 @@ static void runAddingSmoothDecimate(LADSPA_Handle instance, unsigned long sample
|
||||
plugin_data->buffer_pos = buffer_pos;
|
||||
}
|
||||
|
||||
void _init() {
|
||||
void __attribute__((constructor)) swh_init() {
|
||||
char **port_names;
|
||||
LADSPA_PortDescriptor *port_descriptors;
|
||||
LADSPA_PortRangeHint *port_range_hints;
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#ifdef WIN32
|
||||
#define _WINDOWS_DLL_EXPORT_ __declspec(dllexport)
|
||||
int bIsFirstTime = 1;
|
||||
void _init(); // forward declaration
|
||||
void __attribute__((constructor)) swh_init(); // forward declaration
|
||||
#else
|
||||
#define _WINDOWS_DLL_EXPORT_
|
||||
#endif
|
||||
@@ -155,7 +155,7 @@ static void runAddingSplit(LADSPA_Handle instance, unsigned long sample_count) {
|
||||
}
|
||||
}
|
||||
|
||||
void _init() {
|
||||
void __attribute__((constructor)) swh_init() {
|
||||
char **port_names;
|
||||
LADSPA_PortDescriptor *port_descriptors;
|
||||
LADSPA_PortRangeHint *port_range_hints;
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#ifdef WIN32
|
||||
#define _WINDOWS_DLL_EXPORT_ __declspec(dllexport)
|
||||
int bIsFirstTime = 1;
|
||||
void _init(); // forward declaration
|
||||
void __attribute__((constructor)) swh_init(); // forward declaration
|
||||
#else
|
||||
#define _WINDOWS_DLL_EXPORT_
|
||||
#endif
|
||||
@@ -397,7 +397,7 @@ static void runAddingStepMuxer(LADSPA_Handle instance, unsigned long sample_coun
|
||||
plugin_data->last_clock = last_clock;
|
||||
}
|
||||
|
||||
void _init() {
|
||||
void __attribute__((constructor)) swh_init() {
|
||||
char **port_names;
|
||||
LADSPA_PortDescriptor *port_descriptors;
|
||||
LADSPA_PortRangeHint *port_range_hints;
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#ifdef WIN32
|
||||
#define _WINDOWS_DLL_EXPORT_ __declspec(dllexport)
|
||||
int bIsFirstTime = 1;
|
||||
void _init(); // forward declaration
|
||||
void __attribute__((constructor)) swh_init(); // forward declaration
|
||||
#else
|
||||
#define _WINDOWS_DLL_EXPORT_
|
||||
#endif
|
||||
@@ -317,7 +317,7 @@ static void runAddingSurroundEncoder(LADSPA_Handle instance, unsigned long sampl
|
||||
plugin_data->buffer_pos = buffer_pos;
|
||||
}
|
||||
|
||||
void _init() {
|
||||
void __attribute__((constructor)) swh_init() {
|
||||
char **port_names;
|
||||
LADSPA_PortDescriptor *port_descriptors;
|
||||
LADSPA_PortRangeHint *port_range_hints;
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#ifdef WIN32
|
||||
#define _WINDOWS_DLL_EXPORT_ __declspec(dllexport)
|
||||
int bIsFirstTime = 1;
|
||||
void _init(); // forward declaration
|
||||
void __attribute__((constructor)) swh_init(); // forward declaration
|
||||
#else
|
||||
#define _WINDOWS_DLL_EXPORT_
|
||||
#endif
|
||||
@@ -293,7 +293,7 @@ static void runAddingSvf(LADSPA_Handle instance, unsigned long sample_count) {
|
||||
}
|
||||
}
|
||||
|
||||
void _init() {
|
||||
void __attribute__((constructor)) swh_init() {
|
||||
char **port_names;
|
||||
LADSPA_PortDescriptor *port_descriptors;
|
||||
LADSPA_PortRangeHint *port_range_hints;
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#ifdef WIN32
|
||||
#define _WINDOWS_DLL_EXPORT_ __declspec(dllexport)
|
||||
int bIsFirstTime = 1;
|
||||
void _init(); // forward declaration
|
||||
void __attribute__((constructor)) swh_init(); // forward declaration
|
||||
#else
|
||||
#define _WINDOWS_DLL_EXPORT_
|
||||
#endif
|
||||
@@ -476,7 +476,7 @@ static void runAddingTapeDelay(LADSPA_Handle instance, unsigned long sample_coun
|
||||
plugin_data->z2 = z2;
|
||||
}
|
||||
|
||||
void _init() {
|
||||
void __attribute__((constructor)) swh_init() {
|
||||
char **port_names;
|
||||
LADSPA_PortDescriptor *port_descriptors;
|
||||
LADSPA_PortRangeHint *port_range_hints;
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#ifdef WIN32
|
||||
#define _WINDOWS_DLL_EXPORT_ __declspec(dllexport)
|
||||
int bIsFirstTime = 1;
|
||||
void _init(); // forward declaration
|
||||
void __attribute__((constructor)) swh_init(); // forward declaration
|
||||
#else
|
||||
#define _WINDOWS_DLL_EXPORT_
|
||||
#endif
|
||||
@@ -370,7 +370,7 @@ static void runAddingTransient(LADSPA_Handle instance, unsigned long sample_coun
|
||||
plugin_data->slow_buffer_sum = slow_buffer_sum;
|
||||
}
|
||||
|
||||
void _init() {
|
||||
void __attribute__((constructor)) swh_init() {
|
||||
char **port_names;
|
||||
LADSPA_PortDescriptor *port_descriptors;
|
||||
LADSPA_PortRangeHint *port_range_hints;
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#ifdef WIN32
|
||||
#define _WINDOWS_DLL_EXPORT_ __declspec(dllexport)
|
||||
int bIsFirstTime = 1;
|
||||
void _init(); // forward declaration
|
||||
void __attribute__((constructor)) swh_init(); // forward declaration
|
||||
#else
|
||||
#define _WINDOWS_DLL_EXPORT_
|
||||
#endif
|
||||
@@ -368,7 +368,7 @@ static void runAddingTriplePara(LADSPA_Handle instance, unsigned long sample_cou
|
||||
}
|
||||
}
|
||||
|
||||
void _init() {
|
||||
void __attribute__((constructor)) swh_init() {
|
||||
char **port_names;
|
||||
LADSPA_PortDescriptor *port_descriptors;
|
||||
LADSPA_PortRangeHint *port_range_hints;
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#ifdef WIN32
|
||||
#define _WINDOWS_DLL_EXPORT_ __declspec(dllexport)
|
||||
int bIsFirstTime = 1;
|
||||
void _init(); // forward declaration
|
||||
void __attribute__((constructor)) swh_init(); // forward declaration
|
||||
#else
|
||||
#define _WINDOWS_DLL_EXPORT_
|
||||
#endif
|
||||
@@ -243,7 +243,7 @@ static void runAddingValve(LADSPA_Handle instance, unsigned long sample_count) {
|
||||
plugin_data->otm1 = otm1;
|
||||
}
|
||||
|
||||
void _init() {
|
||||
void __attribute__((constructor)) swh_init() {
|
||||
char **port_names;
|
||||
LADSPA_PortDescriptor *port_descriptors;
|
||||
LADSPA_PortRangeHint *port_range_hints;
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#ifdef WIN32
|
||||
#define _WINDOWS_DLL_EXPORT_ __declspec(dllexport)
|
||||
int bIsFirstTime = 1;
|
||||
void _init(); // forward declaration
|
||||
void __attribute__((constructor)) swh_init(); // forward declaration
|
||||
#else
|
||||
#define _WINDOWS_DLL_EXPORT_
|
||||
#endif
|
||||
@@ -312,7 +312,7 @@ static void runAddingValveRect(LADSPA_Handle instance, unsigned long sample_coun
|
||||
plugin_data->apos = apos;
|
||||
}
|
||||
|
||||
void _init() {
|
||||
void __attribute__((constructor)) swh_init() {
|
||||
char **port_names;
|
||||
LADSPA_PortDescriptor *port_descriptors;
|
||||
LADSPA_PortRangeHint *port_range_hints;
|
||||
|
||||
@@ -43,7 +43,7 @@
|
||||
#ifdef WIN32
|
||||
#define _WINDOWS_DLL_EXPORT_ __declspec(dllexport)
|
||||
int bIsFirstTime = 1;
|
||||
void _init(); // forward declaration
|
||||
void __attribute__((constructor)) swh_init(); // forward declaration
|
||||
#else
|
||||
#define _WINDOWS_DLL_EXPORT_
|
||||
#endif
|
||||
@@ -333,7 +333,7 @@ LADSPA_Descriptor * g_psDescriptor = NULL;
|
||||
|
||||
/*****************************************************************************/
|
||||
|
||||
/* _init() is called automatically when the plugin library is first
|
||||
/* __attribute__((constructor)) swh_init() is called automatically when the plugin library is first
|
||||
loaded. */
|
||||
void
|
||||
_init() {
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#ifdef WIN32
|
||||
#define _WINDOWS_DLL_EXPORT_ __declspec(dllexport)
|
||||
int bIsFirstTime = 1;
|
||||
void _init(); // forward declaration
|
||||
void __attribute__((constructor)) swh_init(); // forward declaration
|
||||
#else
|
||||
#define _WINDOWS_DLL_EXPORT_
|
||||
#endif
|
||||
@@ -579,7 +579,7 @@ static void runAddingVynil(LADSPA_Handle instance, unsigned long sample_count) {
|
||||
plugin_data->phi = phi;
|
||||
}
|
||||
|
||||
void _init() {
|
||||
void __attribute__((constructor)) swh_init() {
|
||||
char **port_names;
|
||||
LADSPA_PortDescriptor *port_descriptors;
|
||||
LADSPA_PortRangeHint *port_range_hints;
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#ifdef WIN32
|
||||
#define _WINDOWS_DLL_EXPORT_ __declspec(dllexport)
|
||||
int bIsFirstTime = 1;
|
||||
void _init(); // forward declaration
|
||||
void __attribute__((constructor)) swh_init(); // forward declaration
|
||||
#else
|
||||
#define _WINDOWS_DLL_EXPORT_
|
||||
#endif
|
||||
@@ -155,7 +155,7 @@ static void runAddingWaveTerrain(LADSPA_Handle instance, unsigned long sample_co
|
||||
}
|
||||
}
|
||||
|
||||
void _init() {
|
||||
void __attribute__((constructor)) swh_init() {
|
||||
char **port_names;
|
||||
LADSPA_PortDescriptor *port_descriptors;
|
||||
LADSPA_PortRangeHint *port_range_hints;
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#ifdef WIN32
|
||||
#define _WINDOWS_DLL_EXPORT_ __declspec(dllexport)
|
||||
int bIsFirstTime = 1;
|
||||
void _init(); // forward declaration
|
||||
void __attribute__((constructor)) swh_init(); // forward declaration
|
||||
#else
|
||||
#define _WINDOWS_DLL_EXPORT_
|
||||
#endif
|
||||
@@ -385,7 +385,7 @@ static void runAddingXfade4(LADSPA_Handle instance, unsigned long sample_count)
|
||||
}
|
||||
}
|
||||
|
||||
void _init() {
|
||||
void __attribute__((constructor)) swh_init() {
|
||||
char **port_names;
|
||||
LADSPA_PortDescriptor *port_descriptors;
|
||||
LADSPA_PortRangeHint *port_range_hints;
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#ifdef WIN32
|
||||
#define _WINDOWS_DLL_EXPORT_ __declspec(dllexport)
|
||||
int bIsFirstTime = 1;
|
||||
void _init(); // forward declaration
|
||||
void __attribute__((constructor)) swh_init(); // forward declaration
|
||||
#else
|
||||
#define _WINDOWS_DLL_EXPORT_
|
||||
#endif
|
||||
@@ -163,7 +163,7 @@ static void runAddingZm1(LADSPA_Handle instance, unsigned long sample_count) {
|
||||
plugin_data->xm1 = xm1;
|
||||
}
|
||||
|
||||
void _init() {
|
||||
void __attribute__((constructor)) swh_init() {
|
||||
char **port_names;
|
||||
LADSPA_PortDescriptor *port_descriptors;
|
||||
LADSPA_PortRangeHint *port_range_hints;
|
||||
|
||||
1070
plugins/opl2/fmopl.c
1070
plugins/opl2/fmopl.c
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user