| 275 | } |
| 276 | |
| 277 | std::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 | |
| 298 | OptionalMessage VSTEffectBase::LoadUserPreset( |
| 299 | const RegistryPath & group, EffectSettings &settings) const |
no test coverage detected