From a1d0093bfad3bcb297a41e70c2bb343bb796bbae Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Mon, 3 Jun 2013 00:48:17 +0200 Subject: honor LV2 rsz:minimumSize for Atom Event buffers --- libs/ardour/lv2_evbuf.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'libs/ardour/lv2_evbuf.h') diff --git a/libs/ardour/lv2_evbuf.h b/libs/ardour/lv2_evbuf.h index fdb7766f96..3700be8e02 100644 --- a/libs/ardour/lv2_evbuf.h +++ b/libs/ardour/lv2_evbuf.h @@ -92,6 +92,12 @@ lv2_evbuf_reset(LV2_Evbuf* evbuf, bool input); uint32_t lv2_evbuf_get_size(LV2_Evbuf* evbuf); +/** + Return the available capacity of the buffer +*/ +uint32_t +lv2_evbuf_get_capacity(LV2_Evbuf* evbuf); + /** Return the actual buffer implementation. The format of the buffer returned depends on the buffer type. -- cgit v1.2.3