more details for VST support
[ardour.git] / libs / fst / jackvst.h
1 #ifndef __jack_vst_h__
2 #define __jack_vst_h__
3
4 #include </usr/include/sys/types.h>
5 #include </usr/include/sys/time.h>
6 #include <jack/jack.h>
7 #include <jack/ringbuffer.h>
8 #include <fst.h>
9 #include <alsa/asoundlib.h>
10
11 typedef struct _JackVST JackVST;
12
13 struct _JackVST {
14     jack_client_t *client;
15     FSTHandle*     handle;
16     FST*           fst;
17     float        **ins;
18     float        **outs;
19     jack_port_t  **inports;
20     jack_port_t  **outports;
21     void*          userdata;
22     int            bypassed;
23     int            muted;
24
25     int            resume_called;
26     /* For VST/i support */
27
28     pthread_t          midi_thread;
29     snd_seq_t*         seq;
30     int                midiquit;
31     jack_ringbuffer_t* event_queue;
32     struct VstEvents*  events;
33 };
34
35 #endif /* __jack_vst_h__ */