summaryrefslogtreecommitdiffstats
path: root/src/libs/engine/events/DSSIControlEvent.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/engine/events/DSSIControlEvent.cpp')
-rw-r--r--src/libs/engine/events/DSSIControlEvent.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libs/engine/events/DSSIControlEvent.cpp b/src/libs/engine/events/DSSIControlEvent.cpp
index 5ba8a87e..9ae4274b 100644
--- a/src/libs/engine/events/DSSIControlEvent.cpp
+++ b/src/libs/engine/events/DSSIControlEvent.cpp
@@ -23,8 +23,8 @@
namespace Ingen {
-DSSIControlEvent::DSSIControlEvent(CountedPtr<Responder> responder, SampleCount timestamp, const string& node_path, int port_num, Sample val)
-: QueuedEvent(responder, timestamp),
+DSSIControlEvent::DSSIControlEvent(Engine& engine, CountedPtr<Responder> responder, SampleCount timestamp, const string& node_path, int port_num, Sample val)
+: QueuedEvent(engine, responder, timestamp),
m_node_path(node_path),
m_port_num(port_num),
m_val(val),
@@ -36,7 +36,7 @@ DSSIControlEvent::DSSIControlEvent(CountedPtr<Responder> responder, SampleCount
void
DSSIControlEvent::pre_process()
{
- Node* node = Engine::instance().object_store()->find_node(m_node_path);
+ Node* node = _engine.object_store()->find_node(m_node_path);
if (node->plugin()->type() != Plugin::DSSI)
m_node = NULL;
@@ -48,7 +48,7 @@ DSSIControlEvent::pre_process()
void
-DSSIControlEvent::execute(SampleCount offset)
+DSSIControlEvent::execute(SampleCount nframes, FrameTime start, FrameTime end)
{
if (m_node != NULL)
m_node->set_control(m_port_num, m_val);