diff options
author | Robin Gareus <robin@gareus.org> | 2019-04-03 03:35:40 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2019-04-03 03:35:40 +0200 |
commit | 58babb1e9b3a29c405a54ae44d14e1c299635537 (patch) | |
tree | f2b72016533ebaf0a3c98032b01d49dca86cd047 /libs/ardour/plugin_manager.cc | |
parent | 925d25851d30615727b8e4d850bd06432b2ca1d0 (diff) |
Backport a Mixbus special-case for plugin-tags
Diffstat (limited to 'libs/ardour/plugin_manager.cc')
-rw-r--r-- | libs/ardour/plugin_manager.cc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libs/ardour/plugin_manager.cc b/libs/ardour/plugin_manager.cc index 181516bf0a..6e57f17220 100644 --- a/libs/ardour/plugin_manager.cc +++ b/libs/ardour/plugin_manager.cc @@ -1536,6 +1536,14 @@ PluginManager::save_tags () XMLNode* root = new XMLNode (X_("PluginTags")); for (PluginTagList::iterator i = ptags.begin(); i != ptags.end(); ++i) { +#ifdef MIXBUS + if ((*i).type == LADSPA) { + uint32_t id = atoi ((*i).unique_id); + if (id >= 9300 && id <= 9399) { + continue; /* do not write mixbus channelstrip ladspa's in the tagfile */ + } + } +#endif if ((*i).tagtype == FromFactoryFile || (*i).tagtype == FromUserFile) { /* user file should contain only plugins that are (a) newly user-tagged or (b) previously unknown */ continue; |