The component should be disabled
| 185 | |
| 186 | //The component should be disabled |
| 187 | bool 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 | |
| 202 | class InputParameterChanges final : public Steinberg::Vst::IParameterChanges |
| 203 | { |
no test coverage detected