summaryrefslogtreecommitdiffstats
path: root/src/libs/engine/events/DeactivateEvent.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/engine/events/DeactivateEvent.cpp')
-rw-r--r--src/libs/engine/events/DeactivateEvent.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/libs/engine/events/DeactivateEvent.cpp b/src/libs/engine/events/DeactivateEvent.cpp
index e1c0541e..ff1740dc 100644
--- a/src/libs/engine/events/DeactivateEvent.cpp
+++ b/src/libs/engine/events/DeactivateEvent.cpp
@@ -21,8 +21,8 @@
namespace Ingen {
-DeactivateEvent::DeactivateEvent(CountedPtr<Responder> responder, SampleCount timestamp)
-: QueuedEvent(responder, timestamp)
+DeactivateEvent::DeactivateEvent(Engine& engine, CountedPtr<Responder> responder, SampleCount timestamp)
+: QueuedEvent(engine, responder, timestamp)
{
}
@@ -35,9 +35,9 @@ DeactivateEvent::pre_process()
void
-DeactivateEvent::execute(SampleCount offset)
+DeactivateEvent::execute(SampleCount nframes, FrameTime start, FrameTime end)
{
- QueuedEvent::execute(offset);
+ QueuedEvent::execute(nframes, start, end);
}
@@ -45,7 +45,7 @@ void
DeactivateEvent::post_process()
{
_responder->respond_ok();
- Engine::instance().deactivate();
+ _engine.deactivate();
}