diff options
author | Robin Gareus <robin@gareus.org> | 2019-04-02 01:51:36 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2019-04-02 01:51:36 +0200 |
commit | 8f5e5c4c604165135d4bc2cbc8e882acf03c0afb (patch) | |
tree | 4bf618261ad6b9f2396fc5a3cd99aade2a261ee5 | |
parent | 6d335be41835ebd7ed3e0846c235623b79e055ba (diff) |
Downgrade LADSPA scan errors to warnings
There's nothing that a casual user can about failure to scan
LADSPA plugins. So just inform the user.
It's not an error to worry about.
-rw-r--r-- | libs/ardour/ladspa_plugin.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libs/ardour/ladspa_plugin.cc b/libs/ardour/ladspa_plugin.cc index 30b0bad11d..2feb329bb4 100644 --- a/libs/ardour/ladspa_plugin.cc +++ b/libs/ardour/ladspa_plugin.cc @@ -91,27 +91,27 @@ LadspaPlugin::init (string module_path, uint32_t index, samplecnt_t rate) _was_activated = false; if (!(*_module)) { - error << _("LADSPA: Unable to open module: ") << Glib::Module::get_last_error() << endmsg; + warning << _("LADSPA: Unable to open module: ") << Glib::Module::get_last_error() << endmsg; delete _module; throw failed_constructor(); } if (!_module->get_symbol("ladspa_descriptor", func)) { - error << _("LADSPA: module has no descriptor function.") << endmsg; + warning << _("LADSPA: module has no descriptor function.") << endmsg; throw failed_constructor(); } dfunc = (LADSPA_Descriptor_Function)func; if ((_descriptor = dfunc (index)) == 0) { - error << _("LADSPA: plugin has gone away since discovery!") << endmsg; + warning << _("LADSPA: plugin has gone away since discovery!") << endmsg; throw failed_constructor(); } _index = index; if (LADSPA_IS_INPLACE_BROKEN(_descriptor->Properties)) { - error << string_compose(_("LADSPA: \"%1\" cannot be used, since it cannot do inplace processing"), _descriptor->Name) << endmsg; + info << string_compose(_("LADSPA: \"%1\" cannot be used, since it cannot do inplace processing"), _descriptor->Name) << endmsg; throw failed_constructor(); } |