Browse Source

Fix win/osx build without liblo

tags/1.9.6
falkTX 10 years ago
parent
commit
cb2177eab2
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      source/backend/plugin/CarlaPluginJuce.cpp

+ 4
- 4
source/backend/plugin/CarlaPluginJuce.cpp View File

@@ -263,10 +263,10 @@ public:
fInstance->setStateInformation(data, static_cast<int>(dataSize));
}

#ifdef BUILD_BRIDGE
const bool sendOsc(false);
#else
#if defined(HAVE_LIBLO) && ! defined(BUILD_BRIDGE)
const bool sendOsc(pData->engine->isOscControlRegistered());
#else
const bool sendOsc(false);
#endif
pData->updateParameterValues(this, sendOsc, true, false);
}
@@ -588,7 +588,7 @@ public:
pData->prog.names[i] = carla_strdup(fInstance->getProgramName(i).toRawUTF8());
}

#ifndef BUILD_BRIDGE
#if defined(HAVE_LIBLO) && ! defined(BUILD_BRIDGE)
// Update OSC Names
if (pData->engine->isOscControlRegistered())
{


Loading…
Cancel
Save