aboutsummaryrefslogtreecommitdiffstats
path: root/src/jalv_internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/jalv_internal.h')
-rw-r--r--src/jalv_internal.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/jalv_internal.h b/src/jalv_internal.h
index 08c78cf..458f020 100644
--- a/src/jalv_internal.h
+++ b/src/jalv_internal.h
@@ -78,7 +78,8 @@ struct JalvImpl {
JalvBackend* backend; ///< Audio system backend
ZixRing* ui_to_plugin; ///< Port events from UI
ZixRing* plugin_to_ui; ///< Port events from plugin
- void* ui_event_buf; ///< Buffer for reading UI port events
+ void* audio_msg; ///< Buffer for messages in the audio thread
+ void* ui_msg; ///< Buffer for messages in the UI thread
JalvWorker* worker; ///< Worker thread implementation
JalvWorker* state_worker; ///< Synchronous worker for state restore
ZixSem work_lock; ///< Lock for plugin work() method
@@ -102,6 +103,7 @@ struct JalvImpl {
Controls controls; ///< Available plugin controls
uint32_t block_length; ///< Audio buffer size (block length)
size_t midi_buf_size; ///< Size of MIDI port buffers
+ size_t msg_buf_size; ///< Maximum size of a single message
uint32_t control_in; ///< Index of control input port
uint32_t num_ports; ///< Total number of ports on the plugin
uint32_t plugin_latency; ///< Latency reported by plugin (if any)