13
0
livetrax/libs/fst/jackvst.h
Robin Gareus a401abfee7 fix windows-VST/ALSA combination
git-svn-id: svn://localhost/ardour2/branches/3.0@13793 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-06 12:32:10 +00:00

44 lines
890 B
C

#ifndef __jack_vst_h__
#define __jack_vst_h__
#include <sys/types.h>
#include <sys/time.h>
#include <jack/jack.h>
#include <jack/ringbuffer.h>
#include <fst.h>
#ifdef HAVE_ALSA
#include <alsa/asoundlib.h>
#endif
typedef struct _JackVST JackVST;
struct _JackVST {
jack_client_t *client;
VSTHandle * handle;
VSTState * 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;
/* For VST/i support */
int want_midi;
pthread_t midi_thread;
#ifdef HAVE_ALSA
snd_seq_t* seq;
#endif
int midiquit;
jack_ringbuffer_t* event_queue;
struct VstEvents* events;
};
#define MIDI_EVENT_MAX 1024
#endif /* __jack_vst_h__ */