summaryrefslogtreecommitdiff
path: root/libs/fst/jackvst.h
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2013-01-04 17:36:52 +0000
committerRobin Gareus <robin@gareus.org>2013-01-04 17:36:52 +0000
commitbb3690db586d092e70732d6546969a8828aadcfe (patch)
tree4a1669d778a847469a3a301b80b642fa8f4b85f8 /libs/fst/jackvst.h
parent2c95bfcd46d9093f665bbedfad3cdf73e45f3d35 (diff)
merge Marcel Bonnet's patches for Free-BSD
(may need further cleanup: compare with timbyr's windows patch, verify fst/vsti + ALSA) git-svn-id: svn://localhost/ardour2/branches/3.0@13774 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/fst/jackvst.h')
-rw-r--r--libs/fst/jackvst.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/fst/jackvst.h b/libs/fst/jackvst.h
index b496f68493..8f2618879d 100644
--- a/libs/fst/jackvst.h
+++ b/libs/fst/jackvst.h
@@ -6,7 +6,9 @@
#include <jack/jack.h>
#include <jack/ringbuffer.h>
#include <fst.h>
+#ifdef WITH_ALSA
#include <alsa/asoundlib.h>
+#endif
typedef struct _JackVST JackVST;
@@ -28,7 +30,9 @@ struct _JackVST {
int want_midi;
pthread_t midi_thread;
+#ifdef WITH_ALSA
snd_seq_t* seq;
+#endif WITH_ALSA
int midiquit;
jack_ringbuffer_t* event_queue;
struct VstEvents* events;