mirror of
https://github.com/cookiengineer/audacity
synced 2025-12-22 16:41:18 +01:00
Minimal error messages for failing to load non-Nyquist effects
This commit is contained in:
@@ -502,7 +502,8 @@ bool VSTEffectsModule::RegisterPlugin(PluginManagerInterface & pm,
|
||||
catch (...)
|
||||
{
|
||||
wxLogMessage(_("VST plugin registration failed for %s\n"), path.c_str());
|
||||
return false;
|
||||
valid = false;
|
||||
break;
|
||||
}
|
||||
|
||||
wxString output;
|
||||
@@ -631,6 +632,9 @@ bool VSTEffectsModule::RegisterPlugin(PluginManagerInterface & pm,
|
||||
}
|
||||
}
|
||||
|
||||
if (!valid)
|
||||
errMsg = _("Could not load the library");
|
||||
|
||||
return valid;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user