diff options
author | David Robillard <d@drobilla.net> | 2010-01-04 23:49:58 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2010-01-04 23:49:58 +0000 |
commit | 2f316589c24e34628b02a7e401ffce4e6e22728b (patch) | |
tree | 9575460f5a2c51f967bcec5b220341d870aed509 /src/engine/EventBuffer.cpp | |
parent | 1a0911f2f0d4ae67ea860fbdce58e1334995a6d3 (diff) | |
download | ingen-2f316589c24e34628b02a7e401ffce4e6e22728b.tar.gz ingen-2f316589c24e34628b02a7e401ffce4e6e22728b.tar.bz2 ingen-2f316589c24e34628b02a7e401ffce4e6e22728b.zip |
Remove unused EventBuffer::append method.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2335 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/engine/EventBuffer.cpp')
-rw-r--r-- | src/engine/EventBuffer.cpp | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/src/engine/EventBuffer.cpp b/src/engine/EventBuffer.cpp index 24ed4be9..da6b5745 100644 --- a/src/engine/EventBuffer.cpp +++ b/src/engine/EventBuffer.cpp @@ -221,44 +221,4 @@ EventBuffer::append(uint32_t frames, } -/** Append a buffer of events to the buffer. - * - * \a timestamp must be >= the latest event in the buffer. - * - * \return true on success - */ -bool -EventBuffer::append(const EventBuffer* buf) -{ - cerr << "FIXME: EventBuffer append" << endl; -#if 0 - uint8_t** data = NULL; - bool ret = true; - - LV2_Event_Iterator iter; - for (lv2_event_begin(&iter, _data); lv2_event_is_valid(&iter); lv2_event_increment(&iter)) { - LV2_Event* ev = lv2_event_get(&iter, data); - -#ifndef NDEBUG - assert((ev->frames > _latest_frames) - || (ev->frames == _latest_frames - && ev->subframes >= _latest_subframes)); -#endif - - if (!(ret = append(ev->frames, ev->subframes, ev->type, ev->size, *data))) { - cerr << "ERROR: Failed to write event." << endl; - break; - } - - _latest_frames = ev->frames; - _latest_subframes = ev->subframes; - } - - return ret; -#endif - return false; -} - - } // namespace Ingen - |