summaryrefslogtreecommitdiffstats
path: root/src/libs/engine/OSCBuffer.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-10-08 22:39:40 +0000
committerDavid Robillard <d@drobilla.net>2007-10-08 22:39:40 +0000
commit531cd8958765315a5340ba94487d655023acd758 (patch)
treece2ba4db8979a457903929dff6c94ac4ac9ef04f /src/libs/engine/OSCBuffer.hpp
parentcac2494fb075045694134a7aace68fced10ff1d9 (diff)
downloadingen-531cd8958765315a5340ba94487d655023acd758.tar.gz
ingen-531cd8958765315a5340ba94487d655023acd758.tar.bz2
ingen-531cd8958765315a5340ba94487d655023acd758.zip
OSC Blinkenports(TM).
git-svn-id: http://svn.drobilla.net/lad/ingen@856 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/engine/OSCBuffer.hpp')
-rw-r--r--src/libs/engine/OSCBuffer.hpp1
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); }