13
0

Revert "Add debug output for NSM"

This reverts commit ba9e310d4d.
This commit is contained in:
Robin Gareus 2020-12-17 16:15:33 +01:00
parent 3290d66a43
commit 241105b477
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04
2 changed files with 0 additions and 7 deletions

View File

@ -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 pathways active causes crashes. So, if the command line was already
set, do nothing here. NSM also uses this code path. 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()) { if (!ARDOUR_COMMAND_LINE::session_name.empty()) {
return; return;
@ -715,7 +712,6 @@ ARDOUR_UI::load_from_application_api (const std::string& path)
} }
if (nsm) { if (nsm) {
printf ("ARDOUR_UI::load_from_application_api use NSM\n");
if (!AudioEngine::instance()->set_backend("JACK", "", "")) { if (!AudioEngine::instance()->set_backend("JACK", "", "")) {
error << _("NSM: The JACK backend is mandatory and can not be loaded.") << endmsg; error << _("NSM: The JACK backend is mandatory and can not be loaded.") << endmsg;
return; return;
@ -744,7 +740,6 @@ ARDOUR_UI::load_from_application_api (const std::string& path)
psd.start (); psd.start ();
post_engine (); 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 /* the mechanisms that can result is this being called are only

View File

@ -55,8 +55,6 @@ NSM_Client::command_open(const char* name,
* synchronous. However, there's no return value available. * synchronous. However, there's no return value available.
*/ */
printf ("NSM_Client::command_open '%s'\n", name);
Gtkmm2ext::Application::instance()->ShouldLoad (name); Gtkmm2ext::Application::instance()->ShouldLoad (name);
return r; return r;