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/ardour/buffer_set.h | |
parent | 7ab25697d27fc1fdb9701b57eac75c1623a594e5 (diff) |
honor LV2 rsz:minimumSize for Atom Event buffers
Diffstat (limited to 'libs/ardour/ardour/buffer_set.h')
-rw-r--r-- | libs/ardour/ardour/buffer_set.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libs/ardour/ardour/buffer_set.h b/libs/ardour/ardour/buffer_set.h index 1a1d564288..12e9dbc63b 100644 --- a/libs/ardour/ardour/buffer_set.h +++ b/libs/ardour/ardour/buffer_set.h @@ -120,6 +120,9 @@ public: */ LV2_Evbuf* get_lv2_midi(bool input, size_t i, bool old_api); + /** ensure minimum size of LV2 Atom port buffer */ + void ensure_lv2_bufsize(bool input, size_t i, size_t buffer_capacity); + /** Flush modified LV2 event output buffers back to Ardour buffers */ void flush_lv2_midi(bool input, size_t i); |