diff options
Diffstat (limited to 'src/engine/EventBuffer.cpp')
-rw-r--r-- | src/engine/EventBuffer.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/engine/EventBuffer.cpp b/src/engine/EventBuffer.cpp index 7dc6b179..b9086dc1 100644 --- a/src/engine/EventBuffer.cpp +++ b/src/engine/EventBuffer.cpp @@ -66,20 +66,17 @@ EventBuffer::EventBuffer(BufferFactory& bufs, size_t capacity) clear(); } - EventBuffer::~EventBuffer() { free(_data); } - void EventBuffer::prepare_read(Context& context) { rewind(); } - void EventBuffer::prepare_write(Context& context) { @@ -87,7 +84,6 @@ EventBuffer::prepare_write(Context& context) clear(); } - void EventBuffer::copy(Context& context, const Buffer* src_buf) { @@ -111,7 +107,6 @@ EventBuffer::copy(Context& context, const Buffer* src_buf) assert(event_count() == src->event_count()); } - /** Increment the read position by one event. * * \return true if increment was successful, or false if end of buffer reached. @@ -127,7 +122,6 @@ EventBuffer::increment() const } } - /** \return true iff the cursor is valid (ie get_event is safe) */ bool @@ -136,7 +130,6 @@ EventBuffer::is_valid() const return lv2_event_is_valid(&_iter); } - /** Read an event from the current position in the buffer * * \return true if read was successful, or false if end of buffer reached @@ -160,7 +153,6 @@ EventBuffer::get_event(uint32_t* frames, } } - /** Get the object currently pointed to, or NULL if invalid. */ LV2_Atom* @@ -174,7 +166,6 @@ EventBuffer::get_atom() const return NULL; } - /** Get the event currently pointed to, or NULL if invalid. */ LV2_Event* @@ -187,7 +178,6 @@ EventBuffer::get_event() const return NULL; } - /** Append an event to the buffer. * * \a timestamp must be >= the latest event in the buffer. @@ -222,5 +212,4 @@ EventBuffer::append(uint32_t frames, } } - } // namespace Ingen |