diff options
author | Robin Gareus <robin@gareus.org> | 2016-04-12 11:06:35 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2016-04-12 11:06:35 +0200 |
commit | f5e4d3b0326dfc95c0a513c79cb8b3d84ea37800 (patch) | |
tree | 3b88c275dbe1a789927c02f543350a6cc1bb703c /libs/evoral | |
parent | 7292989a5a6fa6e8a19ce1a5a0b72f537472d842 (diff) |
NO-OP; document some more parameters.
Since headers only provide the declaration, function
parameters need to be documented.
Diffstat (limited to 'libs/evoral')
-rw-r--r-- | libs/evoral/evoral/Event.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
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); |