Page 1 of 1

VST2 equivalent of VST3 EditController::setDirty()

Posted: Tue Apr 18, 2017 5:27 pm
by lorcan
Hi all,

my plug-in's need to store per-instance state such as UI settings etc.
In the VST3 version I use

Code: Select all

EditController::setDirty()
when the state changes to notify the host a save prompt should be displayed (* appended to project filename). This works fine in conforming hosts.

However in VST2 I cannot seem to find anything similar. I've tried

Code: Select all

AudioEffectX::updateDisplay()
as a workaround but that doesn't work.
Is there any solution / hack I might employ ?
I could add a dummy parameter to notify the host, but that seems like a messy way to do it, also potentially confusing to users.

Thanks,
Lorcan

Re: VST2 equivalent of VST3 EditController::setDirty()

Posted: Thu Apr 20, 2017 6:53 am
by Arne Scheffler
This feature does not exist in VST2.

Re: VST2 equivalent of VST3 EditController::setDirty()

Posted: Thu Apr 20, 2017 1:28 pm
by lorcan
Yes, thanks Arne, that's what I suspected.