From f5377f922a41200b15d5d0b56d6dbbf82bed1b52 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 19 Jun 2011 16:42:43 +0000 Subject: Support control changes from UI. git-svn-id: http://svn.drobilla.net/lad/trunk/jalv@3403 a436a847-0d15-0410-975c-d299462d15a1 --- src/jalv_internal.h | 30 ++++++++++++++++-------------- 1 file changed, 16 insertions(+), 14 deletions(-) (limited to 'src/jalv_internal.h') diff --git a/src/jalv_internal.h b/src/jalv_internal.h index f4dc6d4..aa50df0 100644 --- a/src/jalv_internal.h +++ b/src/jalv_internal.h @@ -20,6 +20,7 @@ #include #include +#include #include "lilv/lilv.h" @@ -30,20 +31,21 @@ extern "C" { #endif typedef struct { - LilvWorld* world; /**< Lilv World */ - jack_client_t* jack_client; /**< Jack client */ - sem_t* done; /**< Exit semaphore */ - const LilvPlugin* plugin; /**< Plugin class (RDF data) */ - LilvInstance* instance; /**< Plugin instance (shared library) */ - uint32_t num_ports; /**< Size of the two following arrays: */ - struct Port* ports; /**< Port array of size num_ports */ - LilvNode* input_class; /**< Input port class (URI) */ - LilvNode* output_class; /**< Output port class (URI) */ - LilvNode* control_class; /**< Control port class (URI) */ - LilvNode* audio_class; /**< Audio port class (URI) */ - LilvNode* event_class; /**< Event port class (URI) */ - LilvNode* midi_class; /**< MIDI event class (URI) */ - LilvNode* optional; /**< lv2:connectionOptional port property */ + LilvWorld* world; /**< Lilv World */ + jack_client_t* jack_client; /**< Jack client */ + jack_ringbuffer_t* events; /***< Control change events */ + sem_t* done; /**< Exit semaphore */ + const LilvPlugin* plugin; /**< Plugin class (RDF data) */ + LilvInstance* instance; /**< Plugin instance (shared library) */ + uint32_t num_ports; /**< Size of the two following arrays: */ + struct Port* ports; /**< Port array of size num_ports */ + LilvNode* input_class; /**< Input port class (URI) */ + LilvNode* output_class; /**< Output port class (URI) */ + LilvNode* control_class; /**< Control port class (URI) */ + LilvNode* audio_class; /**< Audio port class (URI) */ + LilvNode* event_class; /**< Event port class (URI) */ + LilvNode* midi_class; /**< MIDI event class (URI) */ + LilvNode* optional; /**< lv2:connectionOptional port property */ } Jalv; void -- cgit v1.2.1