summaryrefslogtreecommitdiff
path: root/libs/fst
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2013-01-06 12:32:10 +0000
committerRobin Gareus <robin@gareus.org>2013-01-06 12:32:10 +0000
commita401abfee715529d2379f7d0fef5068bddc06640 (patch)
tree5e865dc3950920043cd4a3878404319543c8eff1 /libs/fst
parent982f9beaab59b55777cab289779b31d4bba29b58 (diff)
fix windows-VST/ALSA combination
git-svn-id: svn://localhost/ardour2/branches/3.0@13793 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/fst')
-rw-r--r--libs/fst/jackvst.h6
-rw-r--r--libs/fst/vsti.c2
2 files changed, 4 insertions, 4 deletions
diff --git a/libs/fst/jackvst.h b/libs/fst/jackvst.h
index 8f2618879d..7b7e35f89b 100644
--- a/libs/fst/jackvst.h
+++ b/libs/fst/jackvst.h
@@ -6,7 +6,7 @@
#include <jack/jack.h>
#include <jack/ringbuffer.h>
#include <fst.h>
-#ifdef WITH_ALSA
+#ifdef HAVE_ALSA
#include <alsa/asoundlib.h>
#endif
@@ -30,9 +30,9 @@ struct _JackVST {
int want_midi;
pthread_t midi_thread;
-#ifdef WITH_ALSA
+#ifdef HAVE_ALSA
snd_seq_t* seq;
-#endif WITH_ALSA
+#endif
int midiquit;
jack_ringbuffer_t* event_queue;
struct VstEvents* events;
diff --git a/libs/fst/vsti.c b/libs/fst/vsti.c
index ed79ea0c3c..ff5fd2dbbc 100644
--- a/libs/fst/vsti.c
+++ b/libs/fst/vsti.c
@@ -34,7 +34,7 @@
#include <sched.h>
#include "ardour/vestige/aeffectx.h"
-#ifdef WITH_ALSA
+#ifdef HAVE_ALSA
snd_seq_t *
create_sequencer (const char* client_name, bool isinput)