Browse Source

Only use zynaddsubfx-synth on Linux

tags/1.9.6
falkTX 9 years ago
parent
commit
5ef8754163
2 changed files with 6 additions and 2 deletions
  1. +2
    -0
      source/native-plugins/_all.c
  2. +4
    -2
      source/native-plugins/_data.cpp

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

@@ -116,7 +116,9 @@ void carla_register_all_native_plugins(void)
#ifdef HAVE_ZYN_DEPS #ifdef HAVE_ZYN_DEPS
// ZynAddSubFX // ZynAddSubFX
carla_register_native_plugin_zynaddsubfx_fx(); carla_register_native_plugin_zynaddsubfx_fx();
# ifdef CARLA_OS_LINUX
carla_register_native_plugin_zynaddsubfx_synth(); carla_register_native_plugin_zynaddsubfx_synth();
# endif
#endif #endif


#ifdef HAVE_EXPERIMENTAL_PLUGINS #ifdef HAVE_EXPERIMENTAL_PLUGINS


+ 4
- 2
source/native-plugins/_data.cpp View File

@@ -692,12 +692,13 @@ static const NativePluginDescriptor sNativePluginDescriptors[] = {
/* copyright */ "GNU GPL v2+", /* copyright */ "GNU GPL v2+",
DESCFUNCS DESCFUNCS
}, },
# ifdef CARLA_OS_LINUX
{ {
/* category */ NATIVE_PLUGIN_CATEGORY_SYNTH, /* category */ NATIVE_PLUGIN_CATEGORY_SYNTH,
/* hints */ static_cast<NativePluginHints>(NATIVE_PLUGIN_IS_SYNTH /* hints */ static_cast<NativePluginHints>(NATIVE_PLUGIN_IS_SYNTH
#ifdef HAVE_ZYN_UI_DEPS
# ifdef HAVE_ZYN_UI_DEPS
|NATIVE_PLUGIN_HAS_UI |NATIVE_PLUGIN_HAS_UI
#endif
# endif
|NATIVE_PLUGIN_USES_MULTI_PROGS |NATIVE_PLUGIN_USES_MULTI_PROGS
|NATIVE_PLUGIN_USES_STATE), |NATIVE_PLUGIN_USES_STATE),
/* supports */ static_cast<NativePluginSupports>(NATIVE_PLUGIN_SUPPORTS_CONTROL_CHANGES /* supports */ static_cast<NativePluginSupports>(NATIVE_PLUGIN_SUPPORTS_CONTROL_CHANGES
@@ -716,6 +717,7 @@ static const NativePluginDescriptor sNativePluginDescriptors[] = {
/* copyright */ "GNU GPL v2+", /* copyright */ "GNU GPL v2+",
DESCFUNCS DESCFUNCS
}, },
# endif // CARLA_OS_LINUX
#endif // HAVE_ZYN_DEPS #endif // HAVE_ZYN_DEPS






Loading…
Cancel
Save