diff options
author | Robin Gareus <robin@gareus.org> | 2016-11-14 21:04:01 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2016-11-14 21:06:18 +0100 |
commit | 8e3b6c9ac6b4d0e167ab116d197d32b0f8202e8b (patch) | |
tree | 94c6efafaecf1154f0aca72bb96fdb0ed110540a /libs/fst/vstwin.c | |
parent | 48c470d51dbc3345b647904922cafc7cf51d20f4 (diff) |
consolidate VSTState initialization
Diffstat (limited to 'libs/fst/vstwin.c')
-rw-r--r-- | libs/fst/vstwin.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/libs/fst/vstwin.c b/libs/fst/vstwin.c index ba3187684b..7f748c6db6 100644 --- a/libs/fst/vstwin.c +++ b/libs/fst/vstwin.c @@ -218,13 +218,7 @@ static VSTState* fst_new (void) { VSTState* fst = (VSTState*) calloc (1, sizeof (VSTState)); - pthread_mutex_init (&fst->lock, NULL); - pthread_cond_init (&fst->window_status_change, NULL); // unused ?? -> TODO check gtk2ardour - pthread_cond_init (&fst->plugin_dispatcher_called, NULL); // unused ?? - fst->want_program = -1; - fst->want_chunk = 0; - fst->n_pending_keys = 0; - fst->has_editor = 0; + fst->init(); #ifdef PLATFORM_WINDOWS fst->voffset = 50; fst->hoffset = 0; @@ -232,7 +226,6 @@ fst_new (void) fst->voffset = 24; fst->hoffset = 6; #endif - fst->program_set_without_editor = 0; return fst; } |