summaryrefslogtreecommitdiff
path: root/libs/fst/vstwin.c
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2011-11-23 19:29:38 +0000
committerCarl Hetherington <carl@carlh.net>2011-11-23 19:29:38 +0000
commit569bf2f27e3be18499a9e5b78a56fda7e7d200c7 (patch)
tree1c47f1fd05a67e80eb346dff68ec5d7757f34669 /libs/fst/vstwin.c
parent360b4aed1789e9fdd416351bfa5bbec5b8ef37ae (diff)
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
Diffstat (limited to 'libs/fst/vstwin.c')
-rw-r--r--libs/fst/vstwin.c3
1 files changed, 0 insertions, 3 deletions
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;
}