aboutsummaryrefslogtreecommitdiffstats
path: root/src/jalv_internal.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-11-05 02:45:02 +0000
committerDavid Robillard <d@drobilla.net>2011-11-05 02:45:02 +0000
commitc4238232efbf531ae77cd286746d27d0dcbdf060 (patch)
tree4d3e9ce07713aa2aaacfbf8144f90c2fe022d0d9 /src/jalv_internal.h
parente0bce972cfe18a2e2538baf07190eef1526ed9e3 (diff)
downloadjalv-c4238232efbf531ae77cd286746d27d0dcbdf060.tar.gz
jalv-c4238232efbf531ae77cd286746d27d0dcbdf060.tar.bz2
jalv-c4238232efbf531ae77cd286746d27d0dcbdf060.zip
Add abstract interface for event buffers (towards event/atom compatibility).
git-svn-id: http://svn.drobilla.net/lad/trunk/jalv@3598 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/jalv_internal.h')
-rw-r--r--src/jalv_internal.h13
1 files changed, 5 insertions, 8 deletions
diff --git a/src/jalv_internal.h b/src/jalv_internal.h
index 906ca7b..3eb1a3d 100644
--- a/src/jalv_internal.h
+++ b/src/jalv_internal.h
@@ -22,14 +22,11 @@
#include <jack/jack.h>
#include <jack/ringbuffer.h>
-#include "lv2/lv2plug.in/ns/ext/event/event.h"
-
-#include "serd/serd.h"
-
#include "lilv/lilv.h"
-
+#include "serd/serd.h"
#include "suil/suil.h"
+#include "lv2_evbuf.h"
#include "symap.h"
#ifdef __cplusplus
@@ -55,9 +52,9 @@ struct Port {
const LilvPort* lilv_port;
enum PortType type;
enum PortFlow flow;
- jack_port_t* jack_port; /**< For audio/MIDI ports, otherwise NULL */
- float control; /**< For control ports, otherwise 0.0f */
- LV2_Event_Buffer* ev_buffer; /**< For MIDI ports, otherwise NULL */
+ jack_port_t* jack_port; /**< For audio/MIDI ports, otherwise NULL */
+ float control; /**< For control ports, otherwise 0.0f */
+ LV2_Evbuf* evbuf; /**< For MIDI ports, otherwise NULL */
};
struct Property {