diff options
Diffstat (limited to 'src/libs/engine/events/DeactivateEvent.cpp')
-rw-r--r-- | src/libs/engine/events/DeactivateEvent.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/libs/engine/events/DeactivateEvent.cpp b/src/libs/engine/events/DeactivateEvent.cpp index 0deee46a..803373f1 100644 --- a/src/libs/engine/events/DeactivateEvent.cpp +++ b/src/libs/engine/events/DeactivateEvent.cpp @@ -16,13 +16,12 @@ #include "DeactivateEvent.h" #include "Responder.h" -#include "Om.h" -#include "OmApp.h" +#include "Ingen.h" namespace Om { -DeactivateEvent::DeactivateEvent(CountedPtr<Responder> responder, samplecount timestamp) +DeactivateEvent::DeactivateEvent(CountedPtr<Responder> responder, SampleCount timestamp) : QueuedEvent(responder, timestamp) { } @@ -36,7 +35,7 @@ DeactivateEvent::pre_process() void -DeactivateEvent::execute(samplecount offset) +DeactivateEvent::execute(SampleCount offset) { QueuedEvent::execute(offset); } @@ -46,7 +45,7 @@ void DeactivateEvent::post_process() { _responder->respond_ok(); - om->deactivate(); + Ingen::instance().deactivate(); } |