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

Function SetupProcessing

libraries/lib-vst3/VST3Wrapper.cpp:187–200  ·  view source on GitHub ↗

The component should be disabled

Source from the content-addressed store, hash-verified

185
186//The component should be disabled
187bool SetupProcessing(Steinberg::Vst::IComponent& component, Steinberg::Vst::ProcessSetup& setup)
188{
189 using namespace Steinberg;
190 auto processor = FUnknownPtr<Vst::IAudioProcessor>(&component);
191
192 if(processor->setupProcessing(setup) == kResultOk)
193 {
194 //We don't (yet) support custom input/output channel configuration
195 //on the host side. No support for event bus. Use default bus and
196 //channel configuration
197 return ActivateMainAudioBuses(component);
198 }
199 return false;
200}
201
202class InputParameterChanges final : public Steinberg::Vst::IParameterChanges
203{

Callers 3

InitializeComponentsMethod · 0.85
InitializeMethod · 0.85
FlushParametersMethod · 0.85

Calls 1

ActivateMainAudioBusesFunction · 0.85

Tested by

no test coverage detected