summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-11-29 00:21:52 +0000
committerDavid Robillard <d@drobilla.net>2008-11-29 00:21:52 +0000
commitce6cec92071bcf7b247daa3128e39f7fb9f3200b (patch)
tree093ce0eb1e9f1230d334ce23fa8f1605fd175004 /src
parent9c3d03cfab2ac6eda5c87325dcd3174e5812bc39 (diff)
downloadingen-ce6cec92071bcf7b247daa3128e39f7fb9f3200b.tar.gz
ingen-ce6cec92071bcf7b247daa3128e39f7fb9f3200b.tar.bz2
ingen-ce6cec92071bcf7b247daa3128e39f7fb9f3200b.zip
Prefixes with underscores look weird.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1822 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src')
-rw-r--r--src/client/PluginUI.cpp2
-rw-r--r--src/engine/events/SetPortValueEvent.cpp2
-rw-r--r--src/ingen/main.cpp2
3 files changed, 3 insertions, 3 deletions
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#");