summaryrefslogtreecommitdiffstats
path: root/src/libs/engine/MidiControlNode.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/engine/MidiControlNode.cpp')
-rw-r--r--src/libs/engine/MidiControlNode.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libs/engine/MidiControlNode.cpp b/src/libs/engine/MidiControlNode.cpp
index 4c6c3a5f..cd483bc7 100644
--- a/src/libs/engine/MidiControlNode.cpp
+++ b/src/libs/engine/MidiControlNode.cpp
@@ -16,7 +16,7 @@
#include "MidiControlNode.h"
#include <math.h>
-#include "Ingen.h"
+#include "Engine.h"
#include "PostProcessor.h"
#include "MidiLearnEvent.h"
#include "InputPort.h"
@@ -92,8 +92,8 @@ MidiControlNode::control(uchar control_num, uchar val, SampleCount offset)
assert(_param_port->buffer(0)->value_at(0) == control_num);
_learn_event->set_value(control_num);
_learn_event->execute(offset);
- Ingen::instance().post_processor()->push(_learn_event);
- Ingen::instance().post_processor()->whip();
+ Engine::instance().post_processor()->push(_learn_event);
+ Engine::instance().post_processor()->whip();
_learning = false;
_learn_event = NULL;
}