mirror of
https://github.com/cookiengineer/audacity
synced 2025-08-11 17:41:15 +02:00
Don't look for "AudacityModule" in plug in modules.
It isn't in these modules, it may slow start up, it is not correct to do it for plug-ins that are disabled.
This commit is contained in:
parent
279e96072b
commit
3fcde5d00f
@ -363,6 +363,9 @@ bool ModuleManager::DiscoverProviders()
|
|||||||
{
|
{
|
||||||
InitializeBuiltins();
|
InitializeBuiltins();
|
||||||
|
|
||||||
|
// The commented out code loads modules whether or not they are enabled.
|
||||||
|
// none of our modules is a 'provider' of effects, so this code commented out.
|
||||||
|
#if 0
|
||||||
FilePaths provList;
|
FilePaths provList;
|
||||||
FilePaths pathList;
|
FilePaths pathList;
|
||||||
|
|
||||||
@ -400,6 +403,7 @@ bool ModuleManager::DiscoverProviders()
|
|||||||
module->AutoRegisterPlugins(pm);
|
module->AutoRegisterPlugins(pm);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user