Browse Source

Fix build due to last commit

Signed-off-by: falkTX <falktx@falktx.com>
tags/v2.1-rc1
falkTX 6 years ago
parent
commit
9f4150227e
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      source/bridges-plugin/CarlaBridgePlugin.cpp

+ 2
- 0
source/bridges-plugin/CarlaBridgePlugin.cpp View File

@@ -349,11 +349,13 @@ private:
// ptr must not be null
CARLA_SAFE_ASSERT_RETURN(ptr != nullptr,);

#ifndef BUILD_BRIDGE_ALTERNATIVE_ARCH
// pluginId must be 0 (first), except for patchbay things
if (action < CarlaBackend::ENGINE_CALLBACK_PATCHBAY_CLIENT_ADDED ||
action > CarlaBackend::ENGINE_CALLBACK_PATCHBAY_CONNECTION_REMOVED) {
CARLA_SAFE_ASSERT_UINT_RETURN(pluginId == 0, pluginId,);
}
#endif

return ((CarlaBridgePlugin*)ptr)->handleCallback(action, value1, value2, value3, valuef, valueStr);
}


Loading…
Cancel
Save