Merge branch 'ripple-mode-cc' into cairocanvas
[ardour.git] / libs / fst / fst.h
1 #ifndef __fst_fst_h__
2 #define __fst_fst_h__
3
4 #include <setjmp.h>
5 #include <signal.h>
6 #include <pthread.h>
7
8 #include "ardour/libardour_visibility.h"
9 #include "ardour/vst_types.h"
10 #include "ardour/vestige/aeffectx.h"
11
12 #ifdef __cplusplus
13 extern "C" {
14 #endif
15
16 LIBARDOUR_API int        fst_init (void* possible_hmodule);
17 LIBARDOUR_API void       fst_exit (void);
18
19 LIBARDOUR_API VSTHandle* fst_load (const char*);
20 LIBARDOUR_API int        fst_unload (VSTHandle**);
21
22 LIBARDOUR_API VSTState * fst_instantiate (VSTHandle *, audioMasterCallback amc, void* userptr);
23 LIBARDOUR_API void       fst_close (VSTState *);
24
25 LIBARDOUR_API int  fst_run_editor (VSTState *, void* window_parent);
26 LIBARDOUR_API void fst_destroy_editor (VSTState *);
27 LIBARDOUR_API void fst_move_window_into_view (VSTState *);
28
29 LIBARDOUR_API void fst_event_loop_remove_plugin (VSTState* fst);
30 LIBARDOUR_API void fst_start_threading(void);
31 LIBARDOUR_API void fst_stop_threading(void);
32 LIBARDOUR_API void fst_audio_master_idle(void);
33
34 #ifdef __cplusplus
35 }
36 #endif
37
38 #endif /* __fst_fst_h__ */