diff options
author | David Robillard <d@drobilla.net> | 2018-09-23 15:48:27 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2018-09-23 15:49:10 +0200 |
commit | 6f22ee045e7535c5961374d57453c39d1cee224c (patch) | |
tree | 0a2183f448ac57a790d6b44518e2b03b623266cd /src/lv2_evbuf.h | |
parent | d776345e62907ca6e78e325f6f02200f21c82497 (diff) | |
download | jalv-6f22ee045e7535c5961374d57453c39d1cee224c.tar.gz jalv-6f22ee045e7535c5961374d57453c39d1cee224c.tar.bz2 jalv-6f22ee045e7535c5961374d57453c39d1cee224c.zip |
Remove support for deprecated event and uri-map extensions
Diffstat (limited to 'src/lv2_evbuf.h')
-rw-r--r-- | src/lv2_evbuf.h | 27 |
1 files changed, 1 insertions, 26 deletions
diff --git a/src/lv2_evbuf.h b/src/lv2_evbuf.h index 42951f0..fad1006 100644 --- a/src/lv2_evbuf.h +++ b/src/lv2_evbuf.h @@ -26,21 +26,6 @@ extern "C" { #endif /** - Format of actual buffer. -*/ -typedef enum { - /** - An (old) ev:EventBuffer (LV2_Event_Buffer). - */ - LV2_EVBUF_EVENT, - - /** - A (new) atom:Sequence (LV2_Atom_Sequence). - */ - LV2_EVBUF_ATOM -} LV2_Evbuf_Type; - -/** An abstract/opaque LV2 event buffer. */ typedef struct LV2_Evbuf_Impl LV2_Evbuf; @@ -58,10 +43,7 @@ typedef struct { URIDs for atom:Chunk and atom:Sequence must be passed for LV2_EVBUF_ATOM. */ LV2_Evbuf* -lv2_evbuf_new(uint32_t capacity, - LV2_Evbuf_Type type, - uint32_t atom_Chunk, - uint32_t atom_Sequence); +lv2_evbuf_new(uint32_t capacity, uint32_t atom_Chunk, uint32_t atom_Sequence); /** Free an event buffer allocated with lv2_evbuf_new. @@ -70,13 +52,6 @@ void lv2_evbuf_free(LV2_Evbuf* evbuf); /** - Reset and change the type of an existing event buffer. - URIDs for atom:Chunk and atom:Sequence must be passed for LV2_EVBUF_ATOM. -*/ -void -lv2_evbuf_set_type(LV2_Evbuf* evbuf, LV2_Evbuf_Type type); - -/** Clear and initialize an existing event buffer. The contents of buf are ignored entirely and overwritten, except capacity which is unmodified. |