diff --git a/libs/fst/vstwin.c b/libs/fst/vstwin.c index 53eba86b06..9ed65ff978 100644 --- a/libs/fst/vstwin.c +++ b/libs/fst/vstwin.c @@ -220,7 +220,16 @@ static VSTState* fst_new (void) { VSTState* fst = (VSTState*) calloc (1, sizeof (VSTState)); - vststate_init (fst); + + //vststate_init (fst); + pthread_mutex_init (&state->lock, 0); + pthread_mutex_init (&state->state_lock, 0); + pthread_cond_init (&state->window_status_change, 0); + pthread_cond_init (&state->plugin_dispatcher_called, 0); + pthread_cond_init (&state->window_created, 0); + state->want_program = -1; + // + #ifdef PLATFORM_WINDOWS fst->voffset = 50; fst->hoffset = 0;