summaryrefslogtreecommitdiffstats
path: root/src/engine/events
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/events')
-rw-r--r--src/engine/events/MidiLearnEvent.cpp2
-rw-r--r--src/engine/events/MidiLearnEvent.hpp2
-rw-r--r--src/engine/events/NoteEvent.cpp12
3 files changed, 8 insertions, 8 deletions
diff --git a/src/engine/events/MidiLearnEvent.cpp b/src/engine/events/MidiLearnEvent.cpp
index 8c2439a2..5bcbe1d2 100644
--- a/src/engine/events/MidiLearnEvent.cpp
+++ b/src/engine/events/MidiLearnEvent.cpp
@@ -20,7 +20,7 @@
#include "Engine.hpp"
#include "EngineStore.hpp"
#include "NodeImpl.hpp"
-#include "MidiControlNode.hpp"
+#include "InternalController.hpp"
#include "ClientBroadcaster.hpp"
#include "PluginImpl.hpp"
diff --git a/src/engine/events/MidiLearnEvent.hpp b/src/engine/events/MidiLearnEvent.hpp
index fca96307..667ff06c 100644
--- a/src/engine/events/MidiLearnEvent.hpp
+++ b/src/engine/events/MidiLearnEvent.hpp
@@ -19,7 +19,7 @@
#define MIDILEARNEVENT_H
#include "QueuedEvent.hpp"
-#include "MidiControlNode.hpp"
+#include "InternalController.hpp"
#include "types.hpp"
#include <string>
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);
}
}
}