How to use restartComponent and which flags are the right one, when changing all characteristics parameters except size

Hi

  1. When you plug-in changes all or partially the titles or units and its values of its parameters you should call:

restartComponent (Steinberg::Vst::kParamTitlesChanged | Steinberg::Vst::kParamValuesChanged);

See for meaning of the flags: VST 3 Interfaces: Steinberg::Vst Namespace Reference
and https://developer.steinberg.help/display/VST/Parameters+and+Automation

  1. restartComponent should be called in the UI Thread.

  2. Steinberg::Vst::kReloadComponent (if supported by the host) will unload totally the plug-in and reload it…