From ce6cec92071bcf7b247daa3128e39f7fb9f3200b Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 29 Nov 2008 00:21:52 +0000 Subject: Prefixes with underscores look weird. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1822 a436a847-0d15-0410-975c-d299462d15a1 --- src/client/PluginUI.cpp | 2 +- src/engine/events/SetPortValueEvent.cpp | 2 +- src/ingen/main.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/client/PluginUI.cpp b/src/client/PluginUI.cpp index 9c562135..6898dd71 100644 --- a/src/client/PluginUI.cpp +++ b/src/client/PluginUI.cpp @@ -78,7 +78,7 @@ lv2_ui_write(LV2UI_Controller controller, if (ev->type == midi_event_type) { // FIXME: bundle multiple events by writing an entire buffer here ui->world()->engine->set_port_value(port->path(), - Atom("lv2_midi:MidiEvent", ev->size, data)); + Atom("lv2midi:MidiEvent", ev->size, data)); } else { cerr << "WARNING: Unable to send event type " << ev->type << " over OSC, ignoring event" << endl; diff --git a/src/engine/events/SetPortValueEvent.cpp b/src/engine/events/SetPortValueEvent.cpp index b225862e..cd3808dd 100644 --- a/src/engine/events/SetPortValueEvent.cpp +++ b/src/engine/events/SetPortValueEvent.cpp @@ -175,7 +175,7 @@ SetPortValueEvent::apply(uint32_t start, uint32_t nframes) _port->raise_set_by_user_flag(); return; - } else if (!strcmp(_value.get_blob_type(), "lv2_midi:MidiEvent")) { + } else if (!strcmp(_value.get_blob_type(), "lv2midi:MidiEvent")) { const uint32_t type_id = map->uri_to_id(NULL, "http://lv2plug.in/ns/ext/midi#MidiEvent"); diff --git a/src/ingen/main.cpp b/src/ingen/main.cpp index 3917f008..51e98079 100644 --- a/src/ingen/main.cpp +++ b/src/ingen/main.cpp @@ -115,7 +115,7 @@ main(int argc, char** argv) world->rdf_world->add_prefix("lv2", "http://lv2plug.in/ns/lv2core#"); world->rdf_world->add_prefix("lv2ev", "http://lv2plug.in/ns/ext/event#"); world->rdf_world->add_prefix("lv2var", "http://lv2plug.in/ns/ext/instance-var#"); - world->rdf_world->add_prefix("lv2_midi", "http://lv2plug.in/ns/ext/midi"); + world->rdf_world->add_prefix("lv2midi", "http://lv2plug.in/ns/ext/midi"); world->rdf_world->add_prefix("rdfs", "http://www.w3.org/2000/01/rdf-schema#"); world->rdf_world->add_prefix("owl", "http://www.w3.org/2002/07/owl#"); world->rdf_world->add_prefix("doap", "http://usefulinc.com/ns/doap#"); -- cgit v1.2.1