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

Method LoadPlugin

libraries/lib-vst/VSTEffectsModule.cpp:300–309  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

298}
299
300std::unique_ptr<ComponentInterface>
301VSTEffectsModule::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
311bool VSTEffectsModule::CheckPluginExist(const PluginPath& path) const
312{

Callers

nothing calls this directly

Calls 3

CallClass · 0.85
InitializePluginMethod · 0.45
resetMethod · 0.45

Tested by

no test coverage detected