Browse Source

Change behaviour of VST3EditController::setComponentState to fall through to base class instead of returning false

tags/2021-05-28
hogliux 10 years ago
parent
commit
04df084d73
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      modules/juce_audio_plugin_client/VST3/juce_VST3_Wrapper.cpp

+ 2
- 2
modules/juce_audio_plugin_client/VST3/juce_VST3_Wrapper.cpp View File

@@ -231,7 +231,7 @@ public:
};
//==============================================================================
tresult PLUGIN_API setComponentState (IBStream*) override
tresult PLUGIN_API setComponentState (IBStream* stream) override
{
// Cubase and Nuendo need to inform the host of the current parameter values
if (AudioProcessor* const pluginInstance = getPluginInstance())
@@ -240,7 +240,7 @@ public:
setParamNormalized ((Vst::ParamID) i, (double) pluginInstance->getParameter (i));
}
return kResultFalse;
return Vst::EditController::setComponentState (stream);
}
void setAudioProcessor (JuceAudioProcessor* audioProc)


Loading…
Cancel
Save