From e99b57718f8a406804e9b2f1a0d027f01572d5d2 Mon Sep 17 00:00:00 2001 From: falkTX Date: Sun, 4 Jan 2015 07:34:10 +0000 Subject: [PATCH] Quick&diry hack for param outputs on bridges, fixme later --- source/backend/engine/CarlaEngineThread.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/source/backend/engine/CarlaEngineThread.cpp b/source/backend/engine/CarlaEngineThread.cpp index 8e93a10ce..39746b0b7 100644 --- a/source/backend/engine/CarlaEngineThread.cpp +++ b/source/backend/engine/CarlaEngineThread.cpp @@ -42,18 +42,21 @@ CarlaEngineThread::~CarlaEngineThread() noexcept void CarlaEngineThread::run() noexcept { CARLA_SAFE_ASSERT_RETURN(kEngine != nullptr,); +#ifndef BUILD_BRIDGE CARLA_SAFE_ASSERT(kEngine->isRunning()); +#endif carla_debug("CarlaEngineThread::run()"); bool needsSingleThread, needsUiUpdates, oscRegisted; float value; #ifdef BUILD_BRIDGE oscRegisted = false; -#endif + for (; /*kEngine->isRunning() &&*/ ! shouldThreadExit();) + { +#else for (; kEngine->isRunning() && ! shouldThreadExit();) { -#ifndef BUILD_BRIDGE oscRegisted = kEngine->isOscControlRegistered(); #endif