protected override IVstPluginParameters CreateParameters(IVstPluginParameters instance) { return(null); }
///// <summary> ///// Called when an instance of the <see cref="IVstPluginOfflineProcessor"/> interface is requested. ///// </summary> ///// <param name="instance">The default instance or null.</param> ///// <returns>Returns <paramref name="instance"/>.</returns> ///// <remarks>Override to create an instance of the <see cref="IVstPluginOfflineProcessor"/> interface. ///// When <paramref name="instance"/> is null, create the default instance. When the <paramref name="instance"/> ///// is not null, create a Thread Safe instance, possibly wrapping the default <paramref name="instance"/>.</remarks> //protected virtual IVstPluginOfflineProcessor CreateOfflineProcessor(IVstPluginOfflineProcessor instance) //{ // return instance; //} /// <summary> /// Called when an instance of the <see cref="IVstPluginParameters"/> interface is requested. /// </summary> /// <param name="instance">The default instance or null.</param> /// <returns>Returns <paramref name="instance"/>.</returns> /// <remarks>Override to create an instance of the <see cref="IVstPluginParameters"/> interface. /// When <paramref name="instance"/> is null, create the default instance. When the <paramref name="instance"/> /// is not null, create a Thread Safe instance, possibly wrapping the default <paramref name="instance"/>. /// When the plugin also supports <see cref="IVstPluginPrograms"/> this method does not need to be overridden. /// The PluginInterfaceManagerBase implementation will route the interface request for the <see cref="IVstPluginParameters"/> /// to the <see cref="IVstPluginPrograms.ActiveProgram"/> where it is implemented by the <see cref="VstProgram"/>.</remarks> protected virtual IVstPluginParameters CreateParameters(IVstPluginParameters instance) { return(instance); }