summaryrefslogtreecommitdiffstats
path: root/src/server/LV2Node.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-05-11 03:01:26 +0000
committerDavid Robillard <d@drobilla.net>2012-05-11 03:01:26 +0000
commit7be6d5d05756a7dea20c494d56f364b4dc064c88 (patch)
tree4e1bd5d2c9a1d3b23a88b3a4960349c389d1f89a /src/server/LV2Node.cpp
parente77d4fcf31bfdad0b34e184e4743b4750848472c (diff)
downloadingen-7be6d5d05756a7dea20c494d56f364b4dc064c88.tar.gz
ingen-7be6d5d05756a7dea20c494d56f364b4dc064c88.tar.bz2
ingen-7be6d5d05756a7dea20c494d56f364b4dc064c88.zip
Clean up and better document World interface.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4344 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/server/LV2Node.cpp')
-rw-r--r--src/server/LV2Node.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/server/LV2Node.cpp b/src/server/LV2Node.cpp
index 68a771e8..f1bf2d3d 100644
--- a/src/server/LV2Node.cpp
+++ b/src/server/LV2Node.cpp
@@ -150,8 +150,7 @@ LV2Node::instantiate(BufferFactory& bufs)
_ports = new Raul::Array<PortImpl*>(num_ports, NULL);
_instances = new Instances(_polyphony, SharedPtr<void>());
- _features = info->world().lv2_features()->lv2_features(&info->world(),
- this);
+ _features = info->world().lv2_features().lv2_features(&info->world(), this);
uint32_t port_buffer_size = 0;
LilvNode* work_schedule = lilv_new_uri(info->lv2_world(),
@@ -247,7 +246,7 @@ LV2Node::instantiate(BufferFactory& bufs)
if (lilv_node_is_uri(type)) {
port->add_property(uris.atom_bufferType,
forge.alloc_uri(lilv_node_as_uri(type)));
- buffer_type = bufs.engine().world()->uri_map()->map_uri(
+ buffer_type = bufs.engine().world()->uri_map().map_uri(
lilv_node_as_uri(type));
}
}