diff options
author | Robin Gareus <robin@gareus.org> | 2016-11-15 02:49:30 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2016-11-15 02:49:41 +0100 |
commit | 5dc24971009b20a662a58a2e01c47df9b6b5526b (patch) | |
tree | f05b71ef82013940ec85d5a86af95eb50a4652c1 /libs/ardour/ardour/vst_types.h | |
parent | 4e8d705d99d333517757aa212cbcfe712f054f3e (diff) |
rework 8e3b6c9ac (fstwin is C code, not C++)
Diffstat (limited to 'libs/ardour/ardour/vst_types.h')
-rw-r--r-- | libs/ardour/ardour/vst_types.h | 20 |
1 files changed, 2 insertions, 18 deletions
diff --git a/libs/ardour/ardour/vst_types.h b/libs/ardour/ardour/vst_types.h index 0b8bcb6273..580c213a0a 100644 --- a/libs/ardour/ardour/vst_types.h +++ b/libs/ardour/ardour/vst_types.h @@ -134,26 +134,10 @@ struct LIBARDOUR_API _VSTState pthread_cond_t plugin_dispatcher_called; pthread_cond_t window_created; int been_activated; - - void init () { - pthread_mutex_init (&lock, 0); - pthread_mutex_init (&state_lock, 0); - pthread_cond_init (&window_status_change, 0); - pthread_cond_init (&plugin_dispatcher_called, 0); - pthread_cond_init (&window_created, 0); - want_program = -1; - want_chunk = 0; - n_pending_keys = 0; - has_editor = 0; - program_set_without_editor = 0; - linux_window = 0; - linux_plugin_ui_window = 0; - eventProc = 0; - extra_data = 0; - want_resize = 0; - } }; typedef struct _VSTState VSTState; +LIBARDOUR_API extern void vststate_init (VSTState* state); + #endif |