diff --git a/c++/carla-backend/carla_native.cpp b/c++/carla-backend/carla_native.cpp index c8bad2e..a2bd787 100644 --- a/c++/carla-backend/carla_native.cpp +++ b/c++/carla-backend/carla_native.cpp @@ -1661,7 +1661,7 @@ CarlaPlugin* CarlaPlugin::newNative(const initializer& init) if (carlaOptions.processMode == PROCESS_MODE_CONTINUOUS_RACK) { - if (! plugin->hints() & PLUGIN_CAN_FORCE_STEREO) + if (! (plugin->hints() & PLUGIN_CAN_FORCE_STEREO)) { setLastError("Carla's rack mode can only work with Mono or Stereo Internal plugins, sorry!"); delete plugin; diff --git a/c++/carla-backend/dssi.cpp b/c++/carla-backend/dssi.cpp index 640b2b8..90d7d97 100644 --- a/c++/carla-backend/dssi.cpp +++ b/c++/carla-backend/dssi.cpp @@ -1558,17 +1558,17 @@ CarlaPlugin* CarlaPlugin::newDSSI(const initializer& init, const void* const ext plugin->reload(); -#ifndef BUILD_BRIDGE +# ifndef BUILD_BRIDGE if (carlaOptions.processMode == PROCESS_MODE_CONTINUOUS_RACK) { - if (! plugin->hints() & PLUGIN_CAN_FORCE_STEREO) + if (! (plugin->hints() & PLUGIN_CAN_FORCE_STEREO)) { setLastError("Carla's rack mode can only work with Mono or Stereo DSSI plugins, sorry!"); delete plugin; return nullptr; } } -#endif +# endif plugin->registerToOscControl(); diff --git a/c++/carla-backend/ladspa.cpp b/c++/carla-backend/ladspa.cpp index a6ebf31..1d182c5 100644 --- a/c++/carla-backend/ladspa.cpp +++ b/c++/carla-backend/ladspa.cpp @@ -1163,17 +1163,17 @@ CarlaPlugin* CarlaPlugin::newLADSPA(const initializer& init, const void* const e plugin->reload(); -#ifndef BUILD_BRIDGE +# ifndef BUILD_BRIDGE if (carlaOptions.processMode == PROCESS_MODE_CONTINUOUS_RACK) { - if (! plugin->hints() & PLUGIN_CAN_FORCE_STEREO) + if (! (plugin->hints() & PLUGIN_CAN_FORCE_STEREO)) { setLastError("Carla's rack mode can only work with Mono or Stereo LADSPA plugins, sorry!"); delete plugin; return nullptr; } } -#endif +# endif plugin->registerToOscControl(); diff --git a/c++/carla-backend/lv2.cpp b/c++/carla-backend/lv2.cpp index 1c64808..e514e2c 100644 --- a/c++/carla-backend/lv2.cpp +++ b/c++/carla-backend/lv2.cpp @@ -4510,17 +4510,17 @@ CarlaPlugin* CarlaPlugin::newLV2(const initializer& init) plugin->reload(); -#ifndef BUILD_BRIDGE +# ifndef BUILD_BRIDGE if (carlaOptions.processMode == PROCESS_MODE_CONTINUOUS_RACK) { - if (! plugin->hints() & PLUGIN_CAN_FORCE_STEREO) + if (! (plugin->hints() & PLUGIN_CAN_FORCE_STEREO)) { setLastError("Carla's rack mode can only work with Mono (simple) or Stereo LV2 plugins, sorry!"); delete plugin; return nullptr; } } -#endif +# endif plugin->registerToOscControl(); plugin->updateUi(); diff --git a/c++/carla-backend/vst.cpp b/c++/carla-backend/vst.cpp index c0c1172..0e6d863 100644 --- a/c++/carla-backend/vst.cpp +++ b/c++/carla-backend/vst.cpp @@ -2308,17 +2308,17 @@ CarlaPlugin* CarlaPlugin::newVST(const initializer& init) plugin->reload(); -#ifndef BUILD_BRIDGE +# ifndef BUILD_BRIDGE if (carlaOptions.processMode == PROCESS_MODE_CONTINUOUS_RACK) { - if (! plugin->hints() & PLUGIN_CAN_FORCE_STEREO) + if (! (plugin->hints() & PLUGIN_CAN_FORCE_STEREO)) { setLastError("Carla's rack mode can only work with Stereo VST plugins, sorry!"); delete plugin; return nullptr; } } -#endif +# endif plugin->registerToOscControl();