I have a question about saving of plugin state. I know the getStateInformation (juce::MemoryBlock& destData) function is called when DAW (host) exits and/or user wants to save the project (for example in Reaper).
However, that function is also called if we for example call setParameterNotifyingHost or when changing some of the parameter sliders of the related audio processor.
So, do we have a way to know exactly when user wants to save DAW project?
Thank you very much for help.