public EditorFrame(INaudioVstContainer owner, VstPlugin ctx) : this() { Context = ctx; VstContainer = owner; // plugin.SetBlockSize(512); Context.InitializeComboBox(-1, comboBox1); }
public static void Initialize(INaudioVstContainer owner, VstPlugin ctx) { PluginProgram pgm = new PluginProgram(); pgm.Plugin = ctx; ctx.PluginCommandStub.SetBlockSize(512); owner.VstHost.ProcessIdle(); pgm.PgmInit(owner,ctx,-1); }
public EditorFrame(INaudioVstContainer owner, VstPlugin ctx) : this() { Context = ctx; VstContainer = owner; // plugin.SetBlockSize(512); Context.InitializeComboBox(-1,comboBox1); }
static public void Initialize(INaudioVstContainer owner, VstPlugin ctx) { PluginProgram pgm = new PluginProgram(); pgm.Plugin = ctx; ctx.PluginCommandStub.SetBlockSize(512); owner.VstHost.ProcessIdle(); pgm.PgmInit(owner, ctx, -1); }
void PgmInit(INaudioVstContainer owner, VstPlugin Context, int selectedPgm) { if (selectedPgm!=-1) { VstCCPgm backupPgm = new VstCCPgm( Context, selectedPgm ); pgmBackup = backupPgm.GetChunk(true); } Notify("Initialized"); // foreach (VstCCPgm program in VstCCPgm.EnumPrograms(Context)) // comboBox1.Items.Add(program); // if (selectedPgm != -1) comboBox1.SelectedIndex = selectedPgm; // comboBox1.SelectedIndexChanged += new EventHandler(PgmChanged); }
void PgmInit(INaudioVstContainer owner, VstPlugin Context, int selectedPgm) { if (selectedPgm != -1) { VstCCPgm backupPgm = new VstCCPgm(Context, selectedPgm); pgmBackup = backupPgm.GetChunk(true); } Notify("Initialized"); // foreach (VstCCPgm program in VstCCPgm.EnumPrograms(Context)) // comboBox1.Items.Add(program); // if (selectedPgm != -1) comboBox1.SelectedIndex = selectedPgm; // comboBox1.SelectedIndexChanged += new EventHandler(PgmChanged); }
VstEditorViewer( INaudioVstContainer host , IVstPluginContext plugin ) { this.Host = host; this.Plugin = plugin; }
// // .ctor // ========== /// <summary> /// Initiailzes a new HostCommandStub, SampleTime info and assigns a default handler to /// PluginCalledEventArgs (which isn't used any more). /// </summary> public NAudioVST(INaudioVstContainer parent) { this.parent = parent; this.vstHostCommandStub = new HostCommandStub(this); }
VstEditorViewer(INaudioVstContainer host, IVstPluginContext plugin) { this.Host = host; this.Plugin = plugin; }
public VstPlugin(string path, INaudioVstContainer host) { this.Host = host; CreateContext(path); }
public VstPluginManager(INaudioVstContainer container) { Parent = container; }