Browse Source

Really fix build

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

+ 3
- 1
source/backend/engine/CarlaEngineDummy.cpp View File

@@ -17,7 +17,9 @@

#include "CarlaEngineGraph.hpp"
#include "CarlaEngineInternal.hpp"
// #include "CarlaBackendUtils.hpp"

#include <ctime>
#include <sys/time.h>

CARLA_BACKEND_START_NAMESPACE



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

@@ -352,10 +352,11 @@ private:
#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) {
action > CarlaBackend::ENGINE_CALLBACK_PATCHBAY_CONNECTION_REMOVED)
#endif
{
CARLA_SAFE_ASSERT_UINT_RETURN(pluginId == 0, pluginId,);
}
#endif

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


Loading…
Cancel
Save