From 569bf2f27e3be18499a9e5b78a56fda7e7d200c7 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 23 Nov 2011 19:29:38 +0000 Subject: Remove VST current_program variable, since that stuff is managed by the presets code in Plugin. git-svn-id: svn://localhost/ardour2/branches/3.0@10801 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/fst/vstwin.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'libs/fst/vstwin.c') diff --git a/libs/fst/vstwin.c b/libs/fst/vstwin.c index e1132e5d94..67ae03986e 100644 --- a/libs/fst/vstwin.c +++ b/libs/fst/vstwin.c @@ -74,7 +74,6 @@ fst_new () pthread_cond_init (&fst->plugin_dispatcher_called, NULL); fst->want_program = -1; fst->want_chunk = 0; - fst->current_program = -1; fst->n_pending_keys = 0; fst->has_editor = 0; fst->program_set_without_editor = 0; @@ -101,8 +100,6 @@ maybe_set_program (VSTState* fst) if (fst->vst_version >= 2) { fst->plugin->dispatcher (fst->plugin, 68 /* effEndSetProgram */, 0, 0, NULL, 0); } - /* did it work? */ - fst->current_program = fst->plugin->dispatcher (fst->plugin, 3, /* effGetProgram */ 0, 0, NULL, 0); fst->want_program = -1; } -- cgit v1.2.3