projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix sense of OS X check for menu items. Fixes #3420.
[ardour.git]
/
libs
/
fst
/
jackvst.h
diff --git
a/libs/fst/jackvst.h
b/libs/fst/jackvst.h
index abb9e22e124b94a8306eff3757de4e84057dc676..31e34f55b9442e49f482235545528e2280287ef3 100644
(file)
--- a/
libs/fst/jackvst.h
+++ b/
libs/fst/jackvst.h
@@
-1,8
+1,8
@@
#ifndef __jack_vst_h__
#define __jack_vst_h__
#ifndef __jack_vst_h__
#define __jack_vst_h__
-#include <
/usr/include/
sys/types.h>
-#include <
/usr/include/
sys/time.h>
+#include <sys/types.h>
+#include <sys/time.h>
#include <jack/jack.h>
#include <jack/ringbuffer.h>
#include <fst.h>
#include <jack/jack.h>
#include <jack/ringbuffer.h>
#include <fst.h>
@@
-16,15
+16,24
@@
struct _JackVST {
FST* fst;
float **ins;
float **outs;
FST* fst;
float **ins;
float **outs;
+ jack_port_t *midi_port;
jack_port_t **inports;
jack_port_t **outports;
void* userdata;
int bypassed;
int muted;
jack_port_t **inports;
jack_port_t **outports;
void* userdata;
int bypassed;
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;
int resume_called;
+
/* For VST/i support */
/* For VST/i support */
+ int want_midi;
pthread_t midi_thread;
snd_seq_t* seq;
int midiquit;
pthread_t midi_thread;
snd_seq_t* seq;
int midiquit;
@@
-32,4
+41,6
@@
struct _JackVST {
struct VstEvents* events;
};
struct VstEvents* events;
};
+#define MIDI_EVENT_MAX 1024
+
#endif /* __jack_vst_h__ */
#endif /* __jack_vst_h__ */