Jan 3, 2010 at 5:34 PM
Edited Jan 3, 2010 at 5:36 PM
As of version 0.8 of VST.NET (almost) all deprecated members (as of VST 2.4) are supported.
Here's a code example of how to get the deprecated members for calling the host (taken from the implementation of VstPluginBase.Resume in the framework). The Host property is the reference of the host command stub passed to the plugin during the Open call.
IVstHostCommandsDeprecated20 deprecated = Host.GetInstance<IVstHostCommandsDeprecated20>();
if (deprecated != null)
To support deprecated members as a plugin implement the IVstPluginCommandsDeprecated20 interface (in Jacobi.Vst.Core.Deprecated) or derive your public VstPluginCommandStub class from the StdVstPluginDeprecatedCommandStub base class and override the
methods you wish to support (most of them are not implemented by this base class).
Do realize that in your specific case, SetTime might not be supported by every host.