fix missing colon in extension of LXVST search path
[ardour.git] / libs / fst / jackvst.h
index 28c6f058528f60b364f16016449ce0ed26698b2c..7b7e35f89b539f6c7a5a9b8f2dbc265fbcbf77d7 100644 (file)
@@ -6,14 +6,16 @@
 #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;
@@ -24,18 +26,13 @@ struct _JackVST {
     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;