summaryrefslogtreecommitdiffstats
path: root/src/server/ingen_lv2.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2016-08-01 15:44:14 -0400
committerDavid Robillard <d@drobilla.net>2016-08-17 17:25:42 -0400
commit17ad0ca1ad23b336b0fa5952f42dfad95397fc47 (patch)
tree1cac18de3f2b56ac7885fa7f9566ded8eab8872e /src/server/ingen_lv2.cpp
parentd6621e5d1e6f705a09106f62cc75cb33c8c18670 (diff)
downloadingen-17ad0ca1ad23b336b0fa5952f42dfad95397fc47.tar.gz
ingen-17ad0ca1ad23b336b0fa5952f42dfad95397fc47.tar.bz2
ingen-17ad0ca1ad23b336b0fa5952f42dfad95397fc47.zip
Rename main graph and control/notify ports
Diffstat (limited to 'src/server/ingen_lv2.cpp')
-rw-r--r--src/server/ingen_lv2.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/server/ingen_lv2.cpp b/src/server/ingen_lv2.cpp
index 217833bc..dbbc8a55 100644
--- a/src/server/ingen_lv2.cpp
+++ b/src/server/ingen_lv2.cpp
@@ -127,7 +127,7 @@ public:
graph_port->set_driver_buffer(lv2_buf, nframes * sizeof(float));
} else if (graph_port->buffer_type() == uris.atom_Sequence) {
graph_port->set_driver_buffer(lv2_buf, lv2_atom_total_size((LV2_Atom*)lv2_buf));
- if (graph_port->symbol() == "control_in") { // TODO: Safe to use index?
+ if (graph_port->symbol() == "control") { // TODO: Safe to use index?
LV2_Atom_Sequence* seq = (LV2_Atom_Sequence*)lv2_buf;
bool enqueued = false;
LV2_ATOM_SEQUENCE_FOREACH(seq, ev) {
@@ -687,7 +687,7 @@ ingen_save(LV2_Handle instance,
LV2_URID atom_Path = plugin->map->map(plugin->map->handle,
LV2_ATOM__Path);
- char* real_path = make_path->path(make_path->handle, "graph.ttl");
+ char* real_path = make_path->path(make_path->handle, "main.ttl");
char* state_path = map_path->abstract_path(map_path->handle, real_path);
Ingen::Store::iterator root = plugin->world->store()->find(Raul::Path("/"));
@@ -755,7 +755,7 @@ ingen_restore(LV2_Handle instance,
const uint32_t n_ports = engine->root_graph()->num_ports_non_rt();
for (int32_t i = n_ports - 1; i >= 0; --i) {
PortImpl* port = engine->root_graph()->port_impl(i);
- if (port->symbol() != "control_in" && port->symbol() != "control_out") {
+ if (port->symbol() != "control" && port->symbol() != "notify") {
plugin->world->interface()->del(port->uri());
}
}