aboutsummaryrefslogtreecommitdiffstats
path: root/src/jalv_internal.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2013-05-27 01:27:21 +0000
committerDavid Robillard <d@drobilla.net>2013-05-27 01:27:21 +0000
commit6ec945342aac10c99b88a25b732b3bb989ebca9d (patch)
tree0034c0f150def5e21b4353f5788a617d5428b368 /src/jalv_internal.h
parent181d5f98ca3e6fe9730ae799328edda66b0cbfb0 (diff)
downloadjalv-6ec945342aac10c99b88a25b732b3bb989ebca9d.tar.gz
jalv-6ec945342aac10c99b88a25b732b3bb989ebca9d.tar.bz2
jalv-6ec945342aac10c99b88a25b732b3bb989ebca9d.zip
Support rsz:minimumSize for atom and event ports.
git-svn-id: http://svn.drobilla.net/lad/trunk/jalv@5114 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/jalv_internal.h')
-rw-r--r--src/jalv_internal.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/jalv_internal.h b/src/jalv_internal.h
index 1eb6899..619be63 100644
--- a/src/jalv_internal.h
+++ b/src/jalv_internal.h
@@ -31,6 +31,7 @@
#include "lv2/lv2plug.in/ns/ext/atom/forge.h"
#include "lv2/lv2plug.in/ns/ext/log/log.h"
#include "lv2/lv2plug.in/ns/ext/midi/midi.h"
+#include "lv2/lv2plug.in/ns/ext/resize-port/resize-port.h"
#include "lv2/lv2plug.in/ns/ext/state/state.h"
#include "lv2/lv2plug.in/ns/ext/urid/urid.h"
#include "lv2/lv2plug.in/ns/ext/worker/worker.h"
@@ -67,6 +68,7 @@ struct Port {
jack_port_t* jack_port; ///< For audio/MIDI ports, otherwise NULL
LV2_Evbuf* evbuf; ///< For MIDI ports, otherwise NULL
void* widget; ///< Control widget, if applicable
+ size_t buf_size; ///< Custom buffer size, or 0
uint32_t index; ///< Port index
float control; ///< For control ports, otherwise 0.0f
bool old_api; ///< True for event, false for atom
@@ -131,6 +133,7 @@ typedef struct {
LilvNode* pg_group;
LilvNode* pset_Preset;
LilvNode* rdfs_label;
+ LilvNode* rsz_minimumSize;
LilvNode* work_interface;
LilvNode* work_schedule;
LilvNode* end; ///< NULL terminator for easy freeing of entire structure