VST2 equivalent of VST3 EditController::setDirty()

Allows to develop VST 3 Audio Plug-ins and VST 3 host.
User avatar
lorcan
Posts: 6
Joined: Tue Jun 21, 2016 12:04 pm

VST2 equivalent of VST3 EditController::setDirty()

Postby lorcan » Tue Apr 18, 2017 5:27 pm

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
Lorcan Mc Donagh | lmdsp audio plug-ins

Arne Scheffler
Posts: 126
Joined: Mon Jun 20, 2016 7:53 am

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

Postby Arne Scheffler » Thu Apr 20, 2017 6:53 am

This feature does not exist in VST2.

User avatar
lorcan
Posts: 6
Joined: Tue Jun 21, 2016 12:04 pm

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

Postby lorcan » Thu Apr 20, 2017 1:28 pm

Yes, thanks Arne, that's what I suspected.
Lorcan Mc Donagh | lmdsp audio plug-ins


Return to “VST 3 SDK”

Who is online

Users browsing this forum: No registered users and 1 guest