/// <summary> /// Called by the host when the user has turned on your plugin. /// </summary> /// <remarks>Your plugin can receive multiple <see cref="Suspend"/>/Resume calls during its lifetime.</remarks> public virtual void Resume() { if (Supports <IVstMidiProcessor>()) { IVstHostCommandsDeprecated20 deprecated = Host.GetInstance <IVstHostCommandsDeprecated20>(); if (deprecated != null) { deprecated.WantMidi(); } } }
/// <summary> /// This call is forwarded to the <see cref="Jacobi.Vst.Core.Deprecated.IVstHostCommandsDeprecated20"/> implementation. /// </summary> /// <returns>Returns the value returned from the forwarded call.</returns> public bool WantMidi() { return(_deprecatedStub.WantMidi()); }