From 241105b477df52c1963745d8c5fc6c663cb11522 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Thu, 17 Dec 2020 16:15:33 +0100 Subject: [PATCH] Revert "Add debug output for NSM" This reverts commit ba9e310d4d63d119eca2b832147df2a2824a3dd6. --- gtk2_ardour/ardour_ui_startup.cc | 5 ----- gtk2_ardour/nsm.cc | 2 -- 2 files changed, 7 deletions(-) diff --git a/gtk2_ardour/ardour_ui_startup.cc b/gtk2_ardour/ardour_ui_startup.cc index fe713d88f1..fac425793e 100644 --- a/gtk2_ardour/ardour_ui_startup.cc +++ b/gtk2_ardour/ardour_ui_startup.cc @@ -685,9 +685,6 @@ ARDOUR_UI::load_from_application_api (const std::string& path) pathways active causes crashes. So, if the command line was already set, do nothing here. NSM also uses this code path. */ -#ifndef __APPLE__ - printf ("ARDOUR_UI::load_from_application_api '%s'\n", path.c_str()); -#endif if (!ARDOUR_COMMAND_LINE::session_name.empty()) { return; @@ -715,7 +712,6 @@ ARDOUR_UI::load_from_application_api (const std::string& path) } if (nsm) { - printf ("ARDOUR_UI::load_from_application_api use NSM\n"); if (!AudioEngine::instance()->set_backend("JACK", "", "")) { error << _("NSM: The JACK backend is mandatory and can not be loaded.") << endmsg; return; @@ -744,7 +740,6 @@ ARDOUR_UI::load_from_application_api (const std::string& path) psd.start (); post_engine (); - printf ("ARDOUR_UI::load_from_application_api NSM connected to engine\n"); } /* the mechanisms that can result is this being called are only diff --git a/gtk2_ardour/nsm.cc b/gtk2_ardour/nsm.cc index 975573315c..e29af11f12 100644 --- a/gtk2_ardour/nsm.cc +++ b/gtk2_ardour/nsm.cc @@ -55,8 +55,6 @@ NSM_Client::command_open(const char* name, * synchronous. However, there's no return value available. */ - printf ("NSM_Client::command_open '%s'\n", name); - Gtkmm2ext::Application::instance()->ShouldLoad (name); return r;