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

Public Member Functions

void Validate (ComponentInterface &component) override
 
- Public Member Functions inherited from PluginProvider::Validator
virtual void Validate (ComponentInterface &pluginInterface)=0
 
virtual ~Validator ()
 

Detailed Description

Definition at line 293 of file VST3EffectsModule.cpp.

Member Function Documentation

◆ Validate()

void VST3PluginValidator::Validate ( ComponentInterface pluginInterface)
inlineoverridevirtual
Parameters
pluginInterfaceloaded plugin

Implements PluginProvider::Validator.

Definition at line 297 of file VST3EffectsModule.cpp.

298 {
299 if(auto vst3effect = dynamic_cast<VST3EffectBase*>(&component))
300 {
301 VST3Wrapper wrapper (
302 *vst3effect->mModule,
303 vst3effect->mEffectClassInfo
304 );
305 wrapper.InitializeComponents();
306 }
307 else
308 throw std::runtime_error("Not a VST3Effect");
309 }
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: