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

Method GetEffectIDs

libraries/lib-vst/VSTEffectBase.cpp:277–296  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

275}
276
277std::vector<int> VSTEffectBase::GetEffectIDs()
278{
279 std::vector<int> effectIDs;
280
281 // Are we a shell?
282 if (mVstVersion >= 2 && (VstPlugCategory) callDispatcher(effGetPlugCategory, 0, 0, NULL, 0) == kPlugCategShell)
283 {
284 char name[64];
285 int effectID;
286
287 effectID = (int) callDispatcher(effShellGetNextPlugin, 0, 0, &name, 0);
288 while (effectID)
289 {
290 effectIDs.push_back(effectID);
291 effectID = (int) callDispatcher(effShellGetNextPlugin, 0, 0, &name, 0);
292 }
293 }
294
295 return effectIDs;
296}
297
298OptionalMessage VSTEffectBase::LoadUserPreset(
299 const RegistryPath & group, EffectSettings &settings) const

Callers 1

DiscoverPluginsAtPathMethod · 0.80

Calls 1

push_backMethod · 0.45

Tested by

no test coverage detected