diff --git a/examples/PlugInSamples/GenericEditor.h b/examples/PlugInSamples/GenericEditor.h index 9693cc3087..120b904156 100644 --- a/examples/PlugInSamples/GenericEditor.h +++ b/examples/PlugInSamples/GenericEditor.h @@ -99,7 +99,12 @@ public: void sliderValueChanged (Slider* slider) override { if (AudioProcessorParameter* param = getParameterForSlider (slider)) - param->setValueNotifyingHost ((float) slider->getValue()); + { + if (slider->isMouseButtonDown()) + param->setValueNotifyingHost ((float) slider->getValue()); + else + param->setValue ((float) slider->getValue()); + } } void sliderDragStarted (Slider* slider) override diff --git a/modules/juce_audio_plugin_client/VST/juce_VST_Wrapper.cpp b/modules/juce_audio_plugin_client/VST/juce_VST_Wrapper.cpp index e6a370beda..ad09760c69 100644 --- a/modules/juce_audio_plugin_client/VST/juce_VST_Wrapper.cpp +++ b/modules/juce_audio_plugin_client/VST/juce_VST_Wrapper.cpp @@ -288,7 +288,7 @@ public: bool success = setBusArrangementFromTotalChannelNum (maxNumInChannels, maxNumOutChannels); ignoreUnused (success); - // please file a bug if you hit this assertsion! + // please file a bug if you hit this assertion! jassert (maxNumInChannels == busUtils.findTotalNumChannels (true) && success && maxNumOutChannels == busUtils.findTotalNumChannels (false)); }