8 #include "ardour/libardour_visibility.h"
9 #include "ardour/vst_types.h"
10 #include "ardour/vestige/aeffectx.h"
13 * Display FST error message.
15 * Set via fst_set_error_function(), otherwise a FST-provided
16 * default will print @a msg (plus a newline) to stderr.
18 * @param msg error message text (no newline at end).
20 LIBARDOUR_API void (*fst_error_callback)(const char *msg);
23 * Set the @ref fst_error_callback for error message display.
25 * The FST library provides two built-in callbacks for this purpose:
26 * default_fst_error_callback() and silent_fst_error_callback().
28 void fst_set_error_function (void (*func)(const char *));
30 void fst_error (const char *fmt, ...);
36 LIBARDOUR_API int fst_init (void* possible_hmodule);
37 LIBARDOUR_API void fst_exit (void);
39 LIBARDOUR_API VSTHandle* fst_load (const char*);
40 LIBARDOUR_API int fst_unload (VSTHandle**);
42 LIBARDOUR_API VSTState * fst_instantiate (VSTHandle *, audioMasterCallback amc, void* userptr);
43 LIBARDOUR_API void fst_close (VSTState *);
45 LIBARDOUR_API int fst_run_editor (VSTState *, void* window_parent);
46 LIBARDOUR_API void fst_destroy_editor (VSTState *);
47 LIBARDOUR_API void fst_move_window_into_view (VSTState *);
49 LIBARDOUR_API void fst_event_loop_remove_plugin (VSTState* fst);
50 LIBARDOUR_API void fst_start_threading(void);
51 LIBARDOUR_API void fst_stop_threading(void);
52 LIBARDOUR_API void fst_audio_master_idle(void);
58 #endif /* __fst_fst_h__ */