diff options
author | David Robillard <d@drobilla.net> | 2008-11-28 23:51:25 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2008-11-28 23:51:25 +0000 |
commit | 6b04f4fd3a84457eed53132ac42b6b8f44b289d6 (patch) | |
tree | e0844ab77b732f437a1100faf462d27fe86b7966 /src/engine/events | |
parent | 41f370378810f4d1d3b03db1730edbe21bb44397 (diff) | |
download | ingen-6b04f4fd3a84457eed53132ac42b6b8f44b289d6.tar.gz ingen-6b04f4fd3a84457eed53132ac42b6b8f44b289d6.tar.bz2 ingen-6b04f4fd3a84457eed53132ac42b6b8f44b289d6.zip |
Sane ontology for internaals.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1818 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/engine/events')
-rw-r--r-- | src/engine/events/NoteEvent.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/engine/events/NoteEvent.cpp b/src/engine/events/NoteEvent.cpp index 58842ae6..bc44ae1f 100644 --- a/src/engine/events/NoteEvent.cpp +++ b/src/engine/events/NoteEvent.cpp @@ -72,14 +72,14 @@ NoteEvent::execute(ProcessContext& context) if (_node != NULL && _node->plugin()->type() == Plugin::Internal) { if (_on) { - if (_node->plugin_impl()->uri() == NS_INGEN "note_node") + if (_node->plugin_impl()->uri() == NS_INTERNALS "Note") ((MidiNoteNode*)_node)->note_on(context, _note_num, _velocity, _time); - else if (_node->plugin_impl()->uri() == NS_INGEN "trigger_node") + else if (_node->plugin_impl()->uri() == NS_INTERNALS "Trigger") ((MidiTriggerNode*)_node)->note_on(context, _note_num, _velocity, _time); } else { - if (_node->plugin_impl()->uri() == NS_INGEN "note_node") + if (_node->plugin_impl()->uri() == NS_INTERNALS "Note") ((MidiNoteNode*)_node)->note_off(context, _note_num, _time); - else if (_node->plugin_impl()->uri() == NS_INGEN "trigger_node") + else if (_node->plugin_impl()->uri() == NS_INTERNALS "Trigger") ((MidiTriggerNode*)_node)->note_off(context, _note_num, _time); } } @@ -93,7 +93,7 @@ NoteEvent::post_process() if (_node) _responder->respond_ok(); else - _responder->respond_error("Did not find node for note_on"); + _responder->respond_error("Did not find node for note on event"); } } |