Browse Source

Quick&diry hack for param outputs on bridges, fixme later

tags/1.9.6
falkTX 10 years ago
parent
commit
e99b57718f
1 changed files with 5 additions and 2 deletions
  1. +5
    -2
      source/backend/engine/CarlaEngineThread.cpp

+ 5
- 2
source/backend/engine/CarlaEngineThread.cpp View File

@@ -42,18 +42,21 @@ CarlaEngineThread::~CarlaEngineThread() noexcept
void CarlaEngineThread::run() noexcept void CarlaEngineThread::run() noexcept
{ {
CARLA_SAFE_ASSERT_RETURN(kEngine != nullptr,); CARLA_SAFE_ASSERT_RETURN(kEngine != nullptr,);
#ifndef BUILD_BRIDGE
CARLA_SAFE_ASSERT(kEngine->isRunning()); CARLA_SAFE_ASSERT(kEngine->isRunning());
#endif
carla_debug("CarlaEngineThread::run()"); carla_debug("CarlaEngineThread::run()");


bool needsSingleThread, needsUiUpdates, oscRegisted; bool needsSingleThread, needsUiUpdates, oscRegisted;
float value; float value;
#ifdef BUILD_BRIDGE #ifdef BUILD_BRIDGE
oscRegisted = false; oscRegisted = false;
#endif


for (; /*kEngine->isRunning() &&*/ ! shouldThreadExit();)
{
#else
for (; kEngine->isRunning() && ! shouldThreadExit();) for (; kEngine->isRunning() && ! shouldThreadExit();)
{ {
#ifndef BUILD_BRIDGE
oscRegisted = kEngine->isOscControlRegistered(); oscRegisted = kEngine->isOscControlRegistered();
#endif #endif




Loading…
Cancel
Save