projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'master' into cairocanvas
[ardour.git]
/
libs
/
ardour
/
lv2_evbuf.c
diff --git
a/libs/ardour/lv2_evbuf.c
b/libs/ardour/lv2_evbuf.c
index 3037e8275c55d98211413a1f057e03c61ee5b323..8942d19a9b2b038cb2ad9599939508b051250375 100644
(file)
--- a/
libs/ardour/lv2_evbuf.c
+++ b/
libs/ardour/lv2_evbuf.c
@@
-115,6
+115,12
@@
lv2_evbuf_get_size(LV2_Evbuf* evbuf)
return 0;
}
+uint32_t
+lv2_evbuf_get_capacity(LV2_Evbuf* evbuf)
+{
+ return evbuf->capacity;
+}
+
void*
lv2_evbuf_get_buffer(LV2_Evbuf* evbuf)
{
@@
-270,6
+276,8
@@
lv2_evbuf_write(LV2_Evbuf_Iterator* iter,
aseq->atom.size += size;
iter->offset += size;
break;
+ default:
+ return false;
}
return true;