MCPcopy Create free account
hub / github.com/audacity/audacity / GetPlugin

Method GetPlugin

libraries/lib-lv2/LoadLV2.cpp:337–345  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

335// ============================================================================
336
337const 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

Callers 3

GetEffectFamilyNameMethod · 0.45
GetVendorNameMethod · 0.45
DoEffectMethod · 0.45

Calls 4

lilv_new_uriFunction · 0.85
lilv_plugins_get_by_uriFunction · 0.85
getMethod · 0.45

Tested by

no test coverage detected