8 #include "ardour/vst_types.h"
9 #include "ardour/vestige/aeffectx.h"
12 * Display FST error message.
14 * Set via fst_set_error_function(), otherwise a FST-provided
15 * default will print @a msg (plus a newline) to stderr.
17 * @param msg error message text (no newline at end).
19 extern void (*fst_error_callback)(const char *msg);
22 * Set the @ref fst_error_callback for error message display.
24 * The FST library provides two built-in callbacks for this purpose:
25 * default_fst_error_callback() and silent_fst_error_callback().
27 void fst_set_error_function (void (*func)(const char *));
29 void fst_error (const char *fmt, ...);
35 extern int fst_init (void* possible_hmodule);
36 extern void fst_exit (void);
38 extern VSTHandle* fst_load (const char*);
39 extern int fst_unload (VSTHandle**);
41 extern VSTState * fst_instantiate (VSTHandle *, audioMasterCallback amc, void* userptr);
42 extern void fst_close (VSTState *);
44 extern int fst_run_editor (VSTState *, void* window_parent);
45 extern void fst_destroy_editor (VSTState *);
46 extern void fst_move_window_into_view (VSTState *);
48 extern VSTInfo *fst_get_info (char *dllpathname);
49 extern void fst_free_info (VSTInfo *info);
50 extern void fst_event_loop_remove_plugin (VSTState* fst);
51 extern void fst_start_threading(void);
52 extern void fst_stop_threading(void);
53 extern void fst_audio_master_idle(void);
59 #endif /* __fst_fst_h__ */