| 39 | std::map<std::string, VST3PluginCache> sVST3PluginCache; |
| 40 | |
| 41 | VST3PluginCache* GetCache(const VST3::UID& effectUid) |
| 42 | { |
| 43 | const auto key = effectUid.toString(); |
| 44 | auto it = sVST3PluginCache.find(key); |
| 45 | if(it != sVST3PluginCache.end()) |
| 46 | return &it->second; |
| 47 | return nullptr; |
| 48 | } |
| 49 | |
| 50 | VST3PluginCache& CreateCache(const VST3::UID& effectUid) |
| 51 | { |
no test coverage detected