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

Method FindModulePaths

libraries/lib-nyquist-effects/LoadNyquist.cpp:222–236  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

220}
221
222PluginPaths NyquistEffectsModule::FindModulePaths(PluginManagerInterface & pm)
223{
224 auto pathList = NyquistBase::GetNyquistSearchPath();
225 FilePaths files;
226
227 // Add the Nyquist prompt
228 files.push_back(NYQUIST_PROMPT_ID);
229
230 // Load .ny plug-ins
231 pm.FindFilesInPathList(wxT("*.ny"), pathList, files);
232 // LLL: Works for all platform with NEW plugin support (dups are removed)
233 pm.FindFilesInPathList(wxT("*.NY"), pathList, files); // Ed's fix for bug 179
234
235 return { files.begin(), files.end() };
236}
237
238unsigned NyquistEffectsModule::DiscoverPluginsAtPath(
239 const PluginPath & path, TranslatableString &errMsg,

Callers

nothing calls this directly

Calls 4

push_backMethod · 0.45
FindFilesInPathListMethod · 0.45
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected