From f5e4d3b0326dfc95c0a513c79cb8b3d84ea37800 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Tue, 12 Apr 2016 11:06:35 +0200 Subject: NO-OP; document some more parameters. Since headers only provide the declaration, function parameters need to be documented. --- libs/evoral/evoral/Event.hpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'libs/evoral/evoral/Event.hpp') diff --git a/libs/evoral/evoral/Event.hpp b/libs/evoral/evoral/Event.hpp index 2a6810a3b4..cbb62e2f4c 100644 --- a/libs/evoral/evoral/Event.hpp +++ b/libs/evoral/evoral/Event.hpp @@ -92,6 +92,11 @@ public: inline bool owns_buffer() const { return _owns_buf; } + /** set event data (e.g. midi data) + * @param size number of bytes + * @param buf raw 8bit data + * @param own set to true if the buffer owns the data (copy, allocate/free) or false to reference previously allocated data. + */ inline void set_buffer(uint32_t size, uint8_t* buf, bool own) { if (_owns_buf) { free(_buf); -- cgit v1.2.3