mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 08:36:32 +01:00
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.
This commit is contained in:
parent
743a3b1842
commit
ab9f51d2d8
1 changed files with 3 additions and 3 deletions
|
|
@ -777,15 +777,15 @@ PluginManager::ladspa_discover (string path)
|
||||||
void* func = 0;
|
void* func = 0;
|
||||||
|
|
||||||
if (!module) {
|
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;
|
path, Glib::Module::get_last_error()) << endmsg;
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
if (!module.get_symbol("ladspa_descriptor", func)) {
|
if (!module.get_symbol("ladspa_descriptor", func)) {
|
||||||
error << string_compose(_("LADSPA: module \"%1\" has no descriptor function."), path) << endmsg;
|
warning << string_compose(_("LADSPA: module \"%1\" has no descriptor function."), path) << endmsg;
|
||||||
error << Glib::Module::get_last_error() << endmsg;
|
warning << Glib::Module::get_last_error() << endmsg;
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue