diff options
-rw-r--r-- | lv2/lv2plug.in/ns/ext/event/event-helpers.h | 9 | ||||
-rw-r--r-- | lv2/lv2plug.in/ns/ext/event/event.ttl | 9 |
2 files changed, 13 insertions, 5 deletions
diff --git a/lv2/lv2plug.in/ns/ext/event/event-helpers.h b/lv2/lv2plug.in/ns/ext/event/event-helpers.h index 9a8fee8..46d634d 100644 --- a/lv2/lv2plug.in/ns/ext/event/event-helpers.h +++ b/lv2/lv2plug.in/ns/ext/event/event-helpers.h @@ -191,12 +191,11 @@ lv2_event_write(LV2_Event_Iterator* iter, is not enough room in the buffer. */ static inline uint8_t* lv2_event_reserve(LV2_Event_Iterator* iter, - uint32_t frames, - uint32_t subframes, - uint16_t type, - uint16_t size) + uint32_t frames, + uint32_t subframes, + uint16_t type, + uint16_t size) { - size = lv2_event_pad_size(size); if (iter->buf->capacity - iter->buf->size < sizeof(LV2_Event) + size) return NULL; diff --git a/lv2/lv2plug.in/ns/ext/event/event.ttl b/lv2/lv2plug.in/ns/ext/event/event.ttl index e096503..d77d7cc 100644 --- a/lv2/lv2plug.in/ns/ext/event/event.ttl +++ b/lv2/lv2plug.in/ns/ext/event/event.ttl @@ -31,6 +31,15 @@ <event-helpers.h> , <../../people/people.ttl> ; doap:release [ + doap:revision "1.5" ; + doap:created "2012-04-05" ; + dcs:blame <http://drobilla.net/drobilla#me> ; + dcs:changeset [ + dcs:item [ + rdfs:label "Fix bug in lv2_event_reserve()." ; + ] ; + ] ; + ] , [ doap:revision "1.4" ; doap:created "2011-11-21" ; doap:file-release <http://lv2plug.in/spec/lv2-event-1.4.tar.bz2> ; |