From ab9f51d2d8c173032f8102981e2f72df97abd4d7 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Fri, 5 Jun 2020 17:29:42 +0200 Subject: [PATCH] Downgrade LV1 error to warning Failing to discover a plugin is not critical. If the plugin is used by the session, an error message is displayed later. --- libs/ardour/plugin_manager.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libs/ardour/plugin_manager.cc b/libs/ardour/plugin_manager.cc index 75ac6daeb2..a900d9f51f 100644 --- a/libs/ardour/plugin_manager.cc +++ b/libs/ardour/plugin_manager.cc @@ -777,15 +777,15 @@ PluginManager::ladspa_discover (string path) void* func = 0; if (!module) { - error << string_compose(_("LADSPA: cannot load module \"%1\" (%2)"), + warning << string_compose(_("LADSPA: cannot load module \"%1\" (%2)"), path, Glib::Module::get_last_error()) << endmsg; return -1; } if (!module.get_symbol("ladspa_descriptor", func)) { - error << string_compose(_("LADSPA: module \"%1\" has no descriptor function."), path) << endmsg; - error << Glib::Module::get_last_error() << endmsg; + warning << string_compose(_("LADSPA: module \"%1\" has no descriptor function."), path) << endmsg; + warning << Glib::Module::get_last_error() << endmsg; return -1; }