Browse Source

Remove excessive debug prints

tags/1.9.4
falkTX 10 years ago
parent
commit
e97f3f5cbe
2 changed files with 10 additions and 2 deletions
  1. +5
    -1
      source/backend/engine/CarlaEngineOsc.cpp
  2. +5
    -1
      source/backend/plugin/BridgePlugin.cpp

+ 5
- 1
source/backend/engine/CarlaEngineOsc.cpp View File

@@ -161,7 +161,11 @@ int CarlaEngineOsc::handleMessage(const bool isTCP, const char* const path, cons
{
CARLA_SAFE_ASSERT_RETURN(fName.isNotEmpty(), 1);
CARLA_SAFE_ASSERT_RETURN(path != nullptr && path[0] != '\0', 1);
carla_debug("CarlaEngineOsc::handleMessage(%s, \"%s\", %i, %p, \"%s\", %p)", bool2str(isTCP), path, argc, argv, types, msg);
#ifdef DEBUG
if (std::strstr(path, "/bridge_pong") == nullptr) {
carla_debug("CarlaEngineOsc::handleMessage(%s, \"%s\", %i, %p, \"%s\", %p)", bool2str(isTCP), path, argc, argv, types, msg);
}
#endif

//if (isTCP)
{


+ 5
- 1
source/backend/plugin/BridgePlugin.cpp View File

@@ -1304,7 +1304,11 @@ public:

int setOscPluginBridgeInfo(const PluginBridgeInfoType infoType, const int argc, const lo_arg* const* const argv, const char* const types)
{
carla_debug("setOscPluginBridgeInfo(%s, %i, %p, \"%s\")", PluginBridgeInfoType2str(infoType), argc, argv, types);
#ifdef DEBUG
if (infoType != kPluginBridgePong) {
carla_debug("BridgePlugin::setOscPluginBridgeInfo(%s, %i, %p, \"%s\")", PluginBridgeInfoType2str(infoType), argc, argv, types);
}
#endif

switch (infoType)
{


Loading…
Cancel
Save