diff options
Diffstat (limited to 'src/libs/engine/OSCBuffer.hpp')
-rw-r--r-- | src/libs/engine/OSCBuffer.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libs/engine/OSCBuffer.hpp b/src/libs/engine/OSCBuffer.hpp index d70474a2..9f352de3 100644 --- a/src/libs/engine/OSCBuffer.hpp +++ b/src/libs/engine/OSCBuffer.hpp @@ -47,6 +47,7 @@ public: void copy(const Buffer* src, size_t start_sample, size_t end_sample); uint32_t this_nframes() const { return _this_nframes; } + uint32_t event_count() const { return _buf->message_count; } inline LV2OSCBuffer* data() { return ((_joined_buf != NULL) ? _joined_buf->data() : _buf); } |