From 522fc593060796c01d169a569c9874b3ecd70d85 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 6 Nov 2011 18:57:21 +0000 Subject: Fix compilation against latest LV2 svn. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3599 a436a847-0d15-0410-975c-d299462d15a1 --- src/server/ConnectionImpl.cpp | 3 +++ src/server/EventBuffer.cpp | 2 ++ src/server/EventBuffer.hpp | 2 +- 3 files changed, 6 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/server/ConnectionImpl.cpp b/src/server/ConnectionImpl.cpp index 5dfcc246..a6838b49 100644 --- a/src/server/ConnectionImpl.cpp +++ b/src/server/ConnectionImpl.cpp @@ -116,6 +116,8 @@ ConnectionImpl::queue(Context& context) } for (src_buf->rewind(); src_buf->is_valid(); src_buf->increment()) { + error << "Queued connections currently unsupported" << endl; + #if 0 LV2_Event* ev = src_buf->get_event(); LV2_Atom* obj = LV2_ATOM_FROM_EVENT(ev); /*debug << _src_port->path() << " -> " << _dst_port->path() @@ -126,6 +128,7 @@ ConnectionImpl::queue(Context& context) _queue->write(sizeof(LV2_Atom) + obj->size, obj); context.engine().message_context()->run(_dst_port->parent_node(), context.start() + ev->frames); + #endif } } diff --git a/src/server/EventBuffer.cpp b/src/server/EventBuffer.cpp index 1e8713ba..419f84ea 100644 --- a/src/server/EventBuffer.cpp +++ b/src/server/EventBuffer.cpp @@ -152,6 +152,7 @@ EventBuffer::get_event(uint32_t* frames, } } +#if 0 /** Get the object currently pointed to, or NULL if invalid. */ LV2_Atom* @@ -164,6 +165,7 @@ EventBuffer::get_atom() const } return NULL; } +#endif /** Get the event currently pointed to, or NULL if invalid. */ diff --git a/src/server/EventBuffer.hpp b/src/server/EventBuffer.hpp index 668a0c6b..52125ffd 100644 --- a/src/server/EventBuffer.hpp +++ b/src/server/EventBuffer.hpp @@ -64,7 +64,7 @@ public: uint16_t* size, uint8_t** data) const; - LV2_Atom* get_atom() const; + //LV2_Atom* get_atom() const; LV2_Event* get_event() const; bool append(uint32_t frames, -- cgit v1.2.1