Add warning if a duplicate Linux VST plugin is rejected.
authorCarl Hetherington <carl@carlh.net>
Thu, 15 Dec 2011 22:27:15 +0000 (22:27 +0000)
committerCarl Hetherington <carl@carlh.net>
Thu, 15 Dec 2011 22:27:15 +0000 (22:27 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@11012 d708f5d6-7413-0410-9779-e7cbd77b26cf

libs/ardour/plugin_manager.cc

index 54a130ec9cc5511e5c6b575b651a02fe528c85ec..71b630c44d71a9ab4df52dc5fff948ddf27ef691 100644 (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;
                        }