Browse Source

Temporarily disable some internal plugins in windows build

tags/1.9.7
falkTX 7 years ago
parent
commit
702167f3b6
2 changed files with 24 additions and 0 deletions
  1. +12
    -0
      source/native-plugins/_all.c
  2. +12
    -0
      source/native-plugins/_data.cpp

+ 12
- 0
source/native-plugins/_all.c View File

@@ -18,6 +18,10 @@
#include "CarlaDefines.h"
#include "CarlaNative.h"

#ifdef CARLA_OS_WIN
# define DISABLE_PLUGINS_FOR_WINDOWS_BUILD
#endif

// -----------------------------------------------------------------------

// Simple plugins
@@ -84,10 +88,14 @@ void carla_register_all_native_plugins(void)

// MIDI file and sequencer
carla_register_native_plugin_midifile();
#ifndef DISABLE_PLUGINS_FOR_WINDOWS_BUILD
carla_register_native_plugin_midipattern();
#endif

// Carla
#ifndef DISABLE_PLUGINS_FOR_WINDOWS_BUILD
carla_register_native_plugin_carla();
#endif

// DISTRHO Plugins
carla_register_native_plugin_distrho_3bandeq();
@@ -105,14 +113,18 @@ void carla_register_all_native_plugins(void)
carla_register_native_plugin_distrho_vectorjuice();
carla_register_native_plugin_distrho_wobblejuice();

#ifndef DISABLE_PLUGINS_FOR_WINDOWS_BUILD
// External-UI plugins
carla_register_native_plugin_bigmeter();
carla_register_native_plugin_notes();
#endif

#ifdef HAVE_ZYN_DEPS
// ZynAddSubFX
carla_register_native_plugin_zynaddsubfx_fx();
# ifndef DISABLE_PLUGINS_FOR_WINDOWS_BUILD
carla_register_native_plugin_zynaddsubfx_synth();
# endif
#endif

#ifdef HAVE_EXPERIMENTAL_PLUGINS


+ 12
- 0
source/native-plugins/_data.cpp View File

@@ -19,6 +19,10 @@
#include "CarlaMIDI.h"
#include "CarlaUtils.hpp"

#ifdef CARLA_OS_WIN
#define DISABLE_PLUGINS_FOR_WINDOWS_BUILD
#endif

#undef DESCFUNCS
#define DESCFUNCS \
nullptr, nullptr, nullptr, nullptr, nullptr, \
@@ -205,6 +209,7 @@ static const NativePluginDescriptor sNativePluginDescriptors[] = {
/* copyright */ "GNU GPL v2+",
DESCFUNCS
},
#ifndef DISABLE_PLUGINS_FOR_WINDOWS_BUILD
{
/* category */ NATIVE_PLUGIN_CATEGORY_UTILITY,
/* hints */ static_cast<NativePluginHints>(NATIVE_PLUGIN_IS_RTSAFE
@@ -224,10 +229,12 @@ static const NativePluginDescriptor sNativePluginDescriptors[] = {
/* copyright */ "GNU GPL v2+",
DESCFUNCS
},
#endif

// -----------------------------------------------------------------------
// Carla

#ifndef DISABLE_PLUGINS_FOR_WINDOWS_BUILD
{
/* category */ NATIVE_PLUGIN_CATEGORY_OTHER,
/* hints */ static_cast<NativePluginHints>(NATIVE_PLUGIN_IS_SYNTH
@@ -333,6 +340,7 @@ static const NativePluginDescriptor sNativePluginDescriptors[] = {
/* copyright */ "GNU GPL v2+",
DESCFUNCS
},
#endif

// -----------------------------------------------------------------------
// DISTRHO Plugins
@@ -538,6 +546,7 @@ static const NativePluginDescriptor sNativePluginDescriptors[] = {
// -----------------------------------------------------------------------
// External-UI plugins

#ifndef DISABLE_PLUGINS_FOR_WINDOWS_BUILD
{
/* category */ NATIVE_PLUGIN_CATEGORY_UTILITY,
/* hints */ static_cast<NativePluginHints>(NATIVE_PLUGIN_IS_RTSAFE
@@ -573,6 +582,7 @@ static const NativePluginDescriptor sNativePluginDescriptors[] = {
/* copyright */ "GNU GPL v2+",
DESCFUNCS
},
#endif

// -----------------------------------------------------------------------
// ZynAddSubFX
@@ -700,6 +710,7 @@ static const NativePluginDescriptor sNativePluginDescriptors[] = {
/* copyright */ "GNU GPL v2+",
DESCFUNCS
},
# ifndef DISABLE_PLUGINS_FOR_WINDOWS_BUILD
{
/* category */ NATIVE_PLUGIN_CATEGORY_SYNTH,
/* hints */ static_cast<NativePluginHints>(NATIVE_PLUGIN_IS_SYNTH
@@ -724,6 +735,7 @@ static const NativePluginDescriptor sNativePluginDescriptors[] = {
/* copyright */ "GNU GPL v2+",
DESCFUNCS
},
# endif // ! DISABLE_PLUGINS_FOR_WINDOWS_BUILD
#endif // HAVE_ZYN_DEPS




Loading…
Cancel
Save