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

Method FindModulePaths

libraries/lib-ladspa/LadspaEffectsModule.cpp:185–208  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

183}
184
185PluginPaths LadspaEffectsModule::FindModulePaths(PluginManagerInterface & pm)
186{
187 auto pathList = GetSearchPaths(pm);
188 FilePaths files;
189
190#if defined(__WXMAC__)
191
192 // Recursively scan for all shared objects
193 pm.FindFilesInPathList(wxT("*.so"), pathList, files, true);
194
195#elif defined(__WXMSW__)
196
197 // Recursively scan for all DLLs
198 pm.FindFilesInPathList(wxT("*.dll"), pathList, files, true);
199
200#else
201
202 // Recursively scan for all shared objects
203 pm.FindFilesInPathList(wxT("*.so"), pathList, files, true);
204
205#endif
206
207 return { files.begin(), files.end() };
208}
209
210unsigned LadspaEffectsModule::DiscoverPluginsAtPath(
211 const PluginPath & path, TranslatableString &errMsg,

Callers

nothing calls this directly

Calls 3

FindFilesInPathListMethod · 0.45
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected