| 298 | } |
| 299 | |
| 300 | std::unique_ptr<ComponentInterface> |
| 301 | VSTEffectsModule::LoadPlugin(const PluginPath & path) |
| 302 | { |
| 303 | // Acquires a resource for the application. |
| 304 | // For us, the ID is simply the path to the effect |
| 305 | auto result = Factory::Call(path); |
| 306 | if (!result->InitializePlugin()) |
| 307 | result.reset(); |
| 308 | return result; |
| 309 | } |
| 310 | |
| 311 | bool VSTEffectsModule::CheckPluginExist(const PluginPath& path) const |
| 312 | { |
nothing calls this directly
no test coverage detected