Audacity 3.2.0
Public Member Functions | List of all members
VST3PluginValidator Class Referencefinal
Inheritance diagram for VST3PluginValidator:
Collaboration diagram for VST3PluginValidator:

Public Member Functions

void Validate (ComponentInterface &component) override
virtual void Validate (ComponentInterface &pluginInterface)=0

Detailed Description

Definition at line 283 of file VST3EffectsModule.cpp.

Member Function Documentation

◆ Validate()

void VST3PluginValidator::Validate ( ComponentInterface pluginInterface)
pluginInterfaceloaded plugin

Implements PluginProvider::Validator.

Definition at line 287 of file VST3EffectsModule.cpp.

288 {
289 if(auto vst3effect = dynamic_cast<VST3EffectBase*>(&component))
290 {
291 VST3Wrapper wrapper (
292 *vst3effect->mModule,
293 vst3effect->mEffectClassInfo
294 );
295 wrapper.InitializeComponents();
296 }
297 else
298 throw std::runtime_error("Not a VST3Effect");
299 }
Objects of this class connect Audacity with VST3 effects.

References VST3Wrapper::InitializeComponents().

Here is the call graph for this function:

The documentation for this class was generated from the following file: