| 276 | } |
| 277 | |
| 278 | std::unique_ptr<ComponentInterface> |
| 279 | LV2EffectsModule::LoadPlugin(const PluginPath & path) |
| 280 | { |
| 281 | // Acquires a resource for the application. |
| 282 | if (const auto plug = GetPlugin(path)) { |
| 283 | auto result = Factory::Call(*plug); |
| 284 | result->InitializePlugin(); |
| 285 | return result; |
| 286 | } |
| 287 | return nullptr; |
| 288 | } |
| 289 | |
| 290 | bool LV2EffectsModule::CheckPluginExist(const PluginPath & path) const |
| 291 | { |
nothing calls this directly
no test coverage detected