mirror of
https://github.com/cookiengineer/audacity
synced 2025-09-18 17:10:55 +02:00
Exploration of mod-nyq-bench load issue. Needs someone else to look at this further.
This commit is contained in:
parent
f0f1d3ef4c
commit
a1b02e5dbe
@ -273,6 +273,7 @@ void ModuleManager::Initialize()
|
|||||||
wxString pathVar;
|
wxString pathVar;
|
||||||
size_t i;
|
size_t i;
|
||||||
|
|
||||||
|
// JKC: Is this code duplicating LoadModules() ????
|
||||||
// Code from LoadLadspa that might be useful in load modules.
|
// Code from LoadLadspa that might be useful in load modules.
|
||||||
pathVar = wxGetenv(wxT("AUDACITY_MODULES_PATH"));
|
pathVar = wxGetenv(wxT("AUDACITY_MODULES_PATH"));
|
||||||
if (pathVar != wxT("")) {
|
if (pathVar != wxT("")) {
|
||||||
@ -294,6 +295,8 @@ void ModuleManager::Initialize()
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
for (i = 0; i < files.GetCount(); i++) {
|
for (i = 0; i < files.GetCount(); i++) {
|
||||||
|
if( IsAllowedModule( files[i] ) )
|
||||||
|
{
|
||||||
Module *module = new Module(files[i]);
|
Module *module = new Module(files[i]);
|
||||||
|
|
||||||
if (module->Load()) {
|
if (module->Load()) {
|
||||||
@ -303,6 +306,7 @@ void ModuleManager::Initialize()
|
|||||||
delete module;
|
delete module;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
int ModuleManager::Dispatch(ModuleDispatchTypes type)
|
int ModuleManager::Dispatch(ModuleDispatchTypes type)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user