13
0

Add warning if a duplicate Linux VST plugin is rejected.

git-svn-id: svn://localhost/ardour2/branches/3.0@11012 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2011-12-15 22:27:15 +00:00
parent 084cd5ffda
commit 5f4a276ad0

View File

@ -736,6 +736,7 @@ PluginManager::lxvst_discover (string path)
if (!_lxvst_plugin_info->empty()) {
for (PluginInfoList::iterator i =_lxvst_plugin_info->begin(); i != _lxvst_plugin_info->end(); ++i) {
if ((info->type == (*i)->type)&&(info->unique_id == (*i)->unique_id)) {
warning << "Ignoring duplicate Linux VST plugin " << info->name << "\n";
vstfx_free_info(finfo);
return 0;
}