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

Method LoadPlugin

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

Source from the content-addressed store, hash-verified

276}
277
278std::unique_ptr<ComponentInterface>
279LV2EffectsModule::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
290bool LV2EffectsModule::CheckPluginExist(const PluginPath & path) const
291{

Callers

nothing calls this directly

Calls 3

GetPluginFunction · 0.85
CallClass · 0.85
InitializePluginMethod · 0.45

Tested by

no test coverage detected