summaryrefslogtreecommitdiffstats
path: root/src/engine/events/NoteEvent.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-11-29 00:07:30 +0000
committerDavid Robillard <d@drobilla.net>2008-11-29 00:07:30 +0000
commit0674d8cf8a96210eb692176864d92dc2806f6457 (patch)
tree0a27a29333e363e2a4e724897069a5aba6665a92 /src/engine/events/NoteEvent.cpp
parent6b04f4fd3a84457eed53132ac42b6b8f44b289d6 (diff)
downloadingen-0674d8cf8a96210eb692176864d92dc2806f6457.tar.gz
ingen-0674d8cf8a96210eb692176864d92dc2806f6457.tar.bz2
ingen-0674d8cf8a96210eb692176864d92dc2806f6457.zip
Clean up and organize internals.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1819 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/engine/events/NoteEvent.cpp')
-rw-r--r--src/engine/events/NoteEvent.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/engine/events/NoteEvent.cpp b/src/engine/events/NoteEvent.cpp
index bc44ae1f..a53f5218 100644
--- a/src/engine/events/NoteEvent.cpp
+++ b/src/engine/events/NoteEvent.cpp
@@ -20,8 +20,8 @@
#include "Engine.hpp"
#include "EngineStore.hpp"
#include "NodeImpl.hpp"
-#include "MidiNoteNode.hpp"
-#include "MidiTriggerNode.hpp"
+#include "InternalNote.hpp"
+#include "InternalTrigger.hpp"
#include "PluginImpl.hpp"
#include "InternalPlugin.hpp"
#include "ProcessContext.hpp"
@@ -73,14 +73,14 @@ NoteEvent::execute(ProcessContext& context)
if (_node != NULL && _node->plugin()->type() == Plugin::Internal) {
if (_on) {
if (_node->plugin_impl()->uri() == NS_INTERNALS "Note")
- ((MidiNoteNode*)_node)->note_on(context, _note_num, _velocity, _time);
+ ((NoteNode*)_node)->note_on(context, _note_num, _velocity, _time);
else if (_node->plugin_impl()->uri() == NS_INTERNALS "Trigger")
- ((MidiTriggerNode*)_node)->note_on(context, _note_num, _velocity, _time);
+ ((TriggerNode*)_node)->note_on(context, _note_num, _velocity, _time);
} else {
if (_node->plugin_impl()->uri() == NS_INTERNALS "Note")
- ((MidiNoteNode*)_node)->note_off(context, _note_num, _time);
+ ((NoteNode*)_node)->note_off(context, _note_num, _time);
else if (_node->plugin_impl()->uri() == NS_INTERNALS "Trigger")
- ((MidiTriggerNode*)_node)->note_off(context, _note_num, _time);
+ ((TriggerNode*)_node)->note_off(context, _note_num, _time);
}
}
}