aboutsummaryrefslogtreecommitdiffstats
path: root/src/jalv_internal.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-08-31 23:33:55 +0000
committerDavid Robillard <d@drobilla.net>2011-08-31 23:33:55 +0000
commit7e7a1b9e923579067a38b9eadcbf9d9048eb8e5a (patch)
treecee79d53af11cbfe6b4659299e911d1df8df0d73 /src/jalv_internal.h
parent2d7563457f1c90422b3819745785b2dee967342c (diff)
downloadjalv-7e7a1b9e923579067a38b9eadcbf9d9048eb8e5a.tar.gz
jalv-7e7a1b9e923579067a38b9eadcbf9d9048eb8e5a.tar.bz2
jalv-7e7a1b9e923579067a38b9eadcbf9d9048eb8e5a.zip
Exit gracefully when run without arguments.
Use MIDI buffer size provided by Jack. git-svn-id: http://svn.drobilla.net/lad/trunk/jalv@3456 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/jalv_internal.h')
-rw-r--r--src/jalv_internal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/jalv_internal.h b/src/jalv_internal.h
index 0159256..9a36f9a 100644
--- a/src/jalv_internal.h
+++ b/src/jalv_internal.h
@@ -90,6 +90,7 @@ typedef struct {
LilvInstance* instance; /**< Plugin instance (shared library) */
SuilInstance* ui_instance; /**< Plugin UI instance (shared library) */
struct Port* ports; /**< Port array of size num_ports */
+ size_t midi_buf_size; /**< Size of MIDI port buffers */
uint32_t num_ports; /**< Size of the two following arrays: */
uint32_t num_props; /**< Number of properties */
uint32_t longest_sym; /**< Longest port symbol */
@@ -104,6 +105,7 @@ typedef struct {
LilvNode* optional; /**< lv2:connectionOptional port property */
uint32_t midi_event_id; /**< MIDI event class ID */
bool in_state; /**< True iff reading instance state */
+ bool buf_size_set; /**< True iff Jack buf size callback fired */
} Jalv;
int