summaryrefslogtreecommitdiff
path: root/libs/fst/jackvst.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2006-06-22 00:22:16 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2006-06-22 00:22:16 +0000
commit4d3e06f29d4f97b362fb1f69fde977cefd16cf9f (patch)
tree4f7924b3a5ed83dc0f12839997d94ff1310c1104 /libs/fst/jackvst.h
parent912da52a539981193941d8739fa6f103b5e406db (diff)
more details for VST support
git-svn-id: svn://localhost/ardour2/trunk@630 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/fst/jackvst.h')
-rw-r--r--libs/fst/jackvst.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/libs/fst/jackvst.h b/libs/fst/jackvst.h
new file mode 100644
index 0000000000..abb9e22e12
--- /dev/null
+++ b/libs/fst/jackvst.h
@@ -0,0 +1,35 @@
+#ifndef __jack_vst_h__
+#define __jack_vst_h__
+
+#include </usr/include/sys/types.h>
+#include </usr/include/sys/time.h>
+#include <jack/jack.h>
+#include <jack/ringbuffer.h>
+#include <fst.h>
+#include <alsa/asoundlib.h>
+
+typedef struct _JackVST JackVST;
+
+struct _JackVST {
+ jack_client_t *client;
+ FSTHandle* handle;
+ FST* fst;
+ float **ins;
+ float **outs;
+ jack_port_t **inports;
+ jack_port_t **outports;
+ void* userdata;
+ int bypassed;
+ int muted;
+
+ int resume_called;
+ /* For VST/i support */
+
+ pthread_t midi_thread;
+ snd_seq_t* seq;
+ int midiquit;
+ jack_ringbuffer_t* event_queue;
+ struct VstEvents* events;
+};
+
+#endif /* __jack_vst_h__ */