summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-11-06 18:57:21 +0000
committerDavid Robillard <d@drobilla.net>2011-11-06 18:57:21 +0000
commit522fc593060796c01d169a569c9874b3ecd70d85 (patch)
tree421a550bdd593b61e6c728093652c0fac93b27c6
parent3acaae2bedf7f74d97128e951d5e86720d53ba54 (diff)
downloadingen-522fc593060796c01d169a569c9874b3ecd70d85.tar.gz
ingen-522fc593060796c01d169a569c9874b3ecd70d85.tar.bz2
ingen-522fc593060796c01d169a569c9874b3ecd70d85.zip
Fix compilation against latest LV2 svn.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3599 a436a847-0d15-0410-975c-d299462d15a1
-rw-r--r--src/server/ConnectionImpl.cpp3
-rw-r--r--src/server/EventBuffer.cpp2
-rw-r--r--src/server/EventBuffer.hpp2
3 files changed, 6 insertions, 1 deletions
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,