add a new simple cell renderer to be used to allow color display/editing in treeviews
[ardour.git] / libs / fst / jackvst.h
1 #ifndef __jack_vst_h__
2 #define __jack_vst_h__
3
4 #include <sys/types.h>
5 #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     VSTHandle *    handle;
16     VSTState *     fst;
17     float        **ins;
18     float        **outs;
19     jack_port_t  *midi_port;
20     jack_port_t  **inports;
21     jack_port_t  **outports;
22     void*          userdata;
23     int            bypassed;
24     int            muted;
25     int            current_program;
26
27     /* For VST/i support */
28
29     int want_midi;
30     pthread_t          midi_thread;
31     snd_seq_t*         seq;
32     int                midiquit;
33     jack_ringbuffer_t* event_queue;
34     struct VstEvents*  events;
35 };
36
37 #define MIDI_EVENT_MAX 1024
38
39 #endif /* __jack_vst_h__ */