diff options
author | Robin Gareus <robin@gareus.org> | 2016-11-15 03:21:02 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2016-11-15 03:21:02 +0100 |
commit | 694de29953cdc62c433346a57fa1f3bf9a9f53de (patch) | |
tree | cd961dc5c8da5022a367e7624821bebe32678840 | |
parent | 3ff588e189cc9ddd74a32f500d80f4aeaa724b00 (diff) |
amend 5dc24971009 ...get the windows version to compile.
eventually vststate_init() needs cleaning up, but not tonight.
-rw-r--r-- | libs/fst/vstwin.c | 11 |
1 files changed, 10 insertions, 1 deletions
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; |