#include <jack/jack.h>
#include <jack/ringbuffer.h>
#include <fst.h>
+#ifdef HAVE_ALSA
#include <alsa/asoundlib.h>
+#endif
typedef struct _JackVST JackVST;
struct _JackVST {
jack_client_t *client;
- VSTHandle* handle;
- FST* fst;
+ VSTHandle * handle;
+ VSTState * fst;
float **ins;
float **outs;
jack_port_t *midi_port;
int muted;
int current_program;
- int midi_map[128];
- volatile int midi_learn;
- volatile int midi_learn_CC;
- volatile int midi_learn_PARAM;
-
- int resume_called;
-
/* For VST/i support */
int want_midi;
pthread_t midi_thread;
+#ifdef HAVE_ALSA
snd_seq_t* seq;
+#endif
int midiquit;
jack_ringbuffer_t* event_queue;
struct VstEvents* events;