summaryrefslogtreecommitdiffstats
path: root/src/engine/EventBuffer.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-04-16 19:02:36 +0000
committerDavid Robillard <d@drobilla.net>2011-04-16 19:02:36 +0000
commit9e5a7cf49ad84a5a3fa0aa61be11129fc4df1cc2 (patch)
tree089c1366a567dfbf88c0473288236b276ef24bf6 /src/engine/EventBuffer.cpp
parent987710474b824cb92d83ff6fa7a090f50e10756f (diff)
downloadingen-9e5a7cf49ad84a5a3fa0aa61be11129fc4df1cc2.tar.gz
ingen-9e5a7cf49ad84a5a3fa0aa61be11129fc4df1cc2.tar.bz2
ingen-9e5a7cf49ad84a5a3fa0aa61be11129fc4df1cc2.zip
Squeeze blank lines and delete trailing whitespace.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3152 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/engine/EventBuffer.cpp')
-rw-r--r--src/engine/EventBuffer.cpp11
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