Beispiel #1
0
        /// <summary>
        /// Initializes the one an only instance of the Plugin root object.
        /// </summary>
        public Plugin()
            : base(PluginName,
            new VstProductInfo(ProductName, VendorName, PluginVersion),
                VstPluginCategory.Effect,
                VstPluginCapabilities.ReceiveTimeInfo,
                // initial delay: number of samples your plugin lags behind.
                0,
                UniquePluginId)
        {
            this.MssHub = new MssComponentHub();
            this.MssHub.Init();

            this.vstParameters = new VstParameters();
            this.vstParameters.Init(() => this.MssHub.MssParameters, this.PluginPrograms);

            this.Opened += new System.EventHandler(Plugin_Opened);
        }
Beispiel #2
0
        /// <summary>
        /// Initializes the one an only instance of the Plugin root object.
        /// </summary>
        public Plugin()
            : base(PluginName,
                   new VstProductInfo(ProductName, VendorName, PluginVersion),
                   VstPluginCategory.Effect,
                   VstPluginCapabilities.ReceiveTimeInfo,
                   // initial delay: number of samples your plugin lags behind.
                   0,
                   UniquePluginId)
        {
            this.MssHub = new MssComponentHub();
            this.MssHub.Init();

            this.vstParameters = new VstParameters();
            this.vstParameters.Init(() => this.MssHub.MssParameters, this.PluginPrograms);

            this.Opened += new System.EventHandler(Plugin_Opened);
        }