9 * Display FST error message.
11 * @param fmt printf-style formatting specification
13 extern void fst_error (const char *fmt, ...);
16 * Set the @ref fst_error_callback for error message display.
18 * The FST library provides two built-in callbacks for this purpose:
19 * default_fst_error_callback().
21 * The default will print the message (plus a newline) to stderr.
24 void fst_set_error_function (void (*func)(const char *));
26 #include <vst/AEffect.h>
28 typedef struct _FST FST;
29 typedef struct _FSTHandle FSTHandle;
30 typedef struct _FSTInfo FSTInfo;
45 int canProcessReplacing; // what do we need this for ?
47 // i think we should save the parameter Info Stuff soon.
48 // struct VstParameterInfo *infos;
57 char* nameptr; /* ptr returned from strdup() etc. */
58 AEffect* (*main_entry)(audioMasterCallback);
66 void* window; /* win32 HWND */
67 int xid; /* X11 XWindow */
76 pthread_cond_t window_status_change;
84 extern int fst_init ();
85 extern void fst_finish ();
87 extern FSTHandle* fst_load (const char*);
88 extern int fst_unload (FSTHandle*);
90 extern FST* fst_instantiate (FSTHandle*, audioMasterCallback amc, void* userptr);
91 extern void fst_close (FST*);
93 extern void fst_event_loop_remove_plugin (FST* fst);
94 extern void fst_event_loop_add_plugin (FST* fst);
96 extern int fst_run_editor (FST*);
97 extern void fst_destroy_editor (FST*);
98 extern int fst_get_XID (FST*);
100 extern void fst_signal_handler (int sig, siginfo_t* info, void* context);
102 extern FSTInfo *fst_get_info( char *dllpathname );
103 extern void fst_free_info( FSTInfo *info );
109 #endif /* __fst_fst_h__ */