diff options
author | Robin Gareus <robin@gareus.org> | 2013-06-03 00:48:17 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2013-06-03 00:48:17 +0200 |
commit | a1d0093bfad3bcb297a41e70c2bb343bb796bbae (patch) | |
tree | db002165cfa8c4f20d322d96015425d26a85d7a6 /libs/ardour/lv2_evbuf.c | |
parent | 7ab25697d27fc1fdb9701b57eac75c1623a594e5 (diff) |
honor LV2 rsz:minimumSize for Atom Event buffers
Diffstat (limited to 'libs/ardour/lv2_evbuf.c')
-rw-r--r-- | libs/ardour/lv2_evbuf.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libs/ardour/lv2_evbuf.c b/libs/ardour/lv2_evbuf.c index 1cce8730a9..8942d19a9b 100644 --- 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) { |