| 335 | // ============================================================================ |
| 336 | |
| 337 | const LilvPlugin *LV2EffectsModule::GetPlugin(const PluginPath & path) |
| 338 | { |
| 339 | using namespace LV2Symbols; |
| 340 | if (LilvNodePtr uri{ lilv_new_uri(gWorld, path.ToUTF8()) }) |
| 341 | // lilv.h says returns from the following two functions don't need freeing |
| 342 | return lilv_plugins_get_by_uri( |
| 343 | lilv_world_get_all_plugins(gWorld), uri.get()); |
| 344 | return nullptr; |
| 345 | } |
| 346 | |
| 347 | #endif |
no test coverage detected