parent
3290d66a43
commit
241105b477
@ -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
|
||||||
|
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user