From c4238232efbf531ae77cd286746d27d0dcbdf060 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 5 Nov 2011 02:45:02 +0000 Subject: 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 --- src/jalv_internal.h | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) (limited to 'src/jalv_internal.h') 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 #include -#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 { -- cgit v1.2.1