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
 
virtual void Validate (ComponentInterface &pluginInterface)=0
 

Detailed Description

Definition at line 292 of file VST3EffectsModule.cpp.

Member Function Documentation

◆ Validate()

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

Implements PluginProvider::Validator.

Definition at line 296 of file VST3EffectsModule.cpp.

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