aboutsummaryrefslogtreecommitdiffstats
path: root/src/lv2_evbuf.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lv2_evbuf.h')
-rw-r--r--src/lv2_evbuf.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/lv2_evbuf.h b/src/lv2_evbuf.h
index e637b9e..b4d8aea 100644
--- a/src/lv2_evbuf.h
+++ b/src/lv2_evbuf.h
@@ -73,6 +73,14 @@ void
lv2_evbuf_reset(LV2_Evbuf* evbuf);
/**
+ Initialize the event buffer before it is written to.
+ This MUST be called for all output event buffers immediately before running
+ the plugin every time run is to be called.
+*/
+void
+lv2_evbuf_prepare_write(LV2_Evbuf* evbuf);
+
+/**
Return the total padded size of the events stored in the buffer.
*/
uint32_t