1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-01 06:33:53 +01:00

Exploration of mod-nyq-bench load issue. Needs someone else to look at this further.

This commit is contained in:
james.k.crook@gmail.com
2012-07-31 09:34:31 +00:00
parent f0f1d3ef4c
commit a1b02e5dbe

View File

@@ -273,6 +273,7 @@ void ModuleManager::Initialize()
wxString pathVar;
size_t i;
// JKC: Is this code duplicating LoadModules() ????
// Code from LoadLadspa that might be useful in load modules.
pathVar = wxGetenv(wxT("AUDACITY_MODULES_PATH"));
if (pathVar != wxT("")) {
@@ -294,6 +295,8 @@ void ModuleManager::Initialize()
#endif
for (i = 0; i < files.GetCount(); i++) {
if( IsAllowedModule( files[i] ) )
{
Module *module = new Module(files[i]);
if (module->Load()) {
@@ -303,6 +306,7 @@ void ModuleManager::Initialize()
delete module;
}
}
}
}
int ModuleManager::Dispatch(ModuleDispatchTypes type)