diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2009-02-27 17:11:21 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2009-02-27 17:11:21 +0000 |
commit | 63189be1df97d5a8659af8b76d1ca6b10d0e9627 (patch) | |
tree | f8c4ca5abc7cdedd2913a6ebe696635140cdd64e /libs/fst/jackvst.h | |
parent | 903c0863d9c7490c86cbcb652bd362a266a6d468 (diff) |
vestige-based VST support, back-ported from 2.0-ongoing
git-svn-id: svn://localhost/ardour2/branches/3.0@4703 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/fst/jackvst.h')
-rw-r--r-- | libs/fst/jackvst.h | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/libs/fst/jackvst.h b/libs/fst/jackvst.h index abb9e22e12..31e34f55b9 100644 --- a/libs/fst/jackvst.h +++ b/libs/fst/jackvst.h @@ -1,8 +1,8 @@ #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> @@ -16,15 +16,24 @@ struct _JackVST { 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; + 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; snd_seq_t* seq; int midiquit; @@ -32,4 +41,6 @@ struct _JackVST { struct VstEvents* events; }; +#define MIDI_EVENT_MAX 1024 + #endif /* __jack_vst_h__ */ |