From 95909aa92e0edf9f17e1a9e9dfe9a2ab49ef7e1e Mon Sep 17 00:00:00 2001 From: falkTX Date: Tue, 10 Mar 2015 10:25:51 +0100 Subject: [PATCH] Disable testing NSM code for beta release --- source/backend/CarlaStandaloneNSM.cpp | 7 +++++++ source/carla_host.py | 2 -- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/source/backend/CarlaStandaloneNSM.cpp b/source/backend/CarlaStandaloneNSM.cpp index 3b19cedf7..4374689d6 100644 --- a/source/backend/CarlaStandaloneNSM.cpp +++ b/source/backend/CarlaStandaloneNSM.cpp @@ -218,9 +218,11 @@ protected: fHasOptionalGui = std::strstr(features, ":optional-gui:") != nullptr; fHasServerControl = std::strstr(features, ":server_control:") != nullptr; +#if 0 // UI starts visible if (fHasOptionalGui) lo_send_from(fReplyAddress, fServer, LO_TT_IMMEDIATE, "/nsm/client/gui_is_shown", ""); +#endif carla_stdout("Carla started via '%s', message: %s", smName, message); @@ -364,6 +366,7 @@ protected: CARLA_SAFE_ASSERT_RETURN(argc >= 0, 0); carla_stdout("CarlaNSM::handleBroadcast(%s, %s, %p, %i)", path, types, argv, argc); +#if 0 if (std::strcmp(path, "/non/hello") == 0) { CARLA_SAFE_ASSERT_RETURN(argc == 4, 0); @@ -462,8 +465,12 @@ protected: for (int i=0; is); +#endif return 0; + + // unused + (void)msg; } private: diff --git a/source/carla_host.py b/source/carla_host.py index 320c7be28..c5776b9dc 100644 --- a/source/carla_host.py +++ b/source/carla_host.py @@ -1630,8 +1630,6 @@ class HostWindow(QMainWindow): @pyqtSlot(int, int, str) def slot_handleNSMCallback(self, value1, value2, valueStr): - print("--------------- NSM:", value1, value2, valueStr) - # Error if value1 == 0: pass