aboutsummaryrefslogtreecommitdiffstats
path: root/src/lv2_evbuf.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-02-12 04:19:28 +0000
committerDavid Robillard <d@drobilla.net>2012-02-12 04:19:28 +0000
commit09752457f076c8dd38a116662eba0ac6b1d3e6a2 (patch)
tree9c9d9d4a53b5e20cc7e880f24a74b8966f0d7370 /src/lv2_evbuf.h
parentf78c89077b50934001b63efc4b3a9742dcd0b738 (diff)
downloadjalv-09752457f076c8dd38a116662eba0ac6b1d3e6a2.tar.gz
jalv-09752457f076c8dd38a116662eba0ac6b1d3e6a2.tar.bz2
jalv-09752457f076c8dd38a116662eba0ac6b1d3e6a2.zip
Update for latest atom extension.
git-svn-id: http://svn.drobilla.net/lad/trunk/jalv@3982 a436a847-0d15-0410-975c-d299462d15a1
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