summaryrefslogtreecommitdiffstats
path: root/src/libs/engine/events/RequestObjectEvent.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/engine/events/RequestObjectEvent.cpp')
-rw-r--r--src/libs/engine/events/RequestObjectEvent.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/libs/engine/events/RequestObjectEvent.cpp b/src/libs/engine/events/RequestObjectEvent.cpp
index 62651e63..4c875e45 100644
--- a/src/libs/engine/events/RequestObjectEvent.cpp
+++ b/src/libs/engine/events/RequestObjectEvent.cpp
@@ -26,6 +26,7 @@
#include "Node.hpp"
#include "Port.hpp"
#include "ObjectSender.hpp"
+#include "ProcessContext.hpp"
using std::string;
@@ -50,10 +51,10 @@ RequestObjectEvent::pre_process()
void
-RequestObjectEvent::execute(SampleCount nframes, FrameTime start, FrameTime end)
+RequestObjectEvent::execute(ProcessContext& context)
{
- QueuedEvent::execute(nframes, start, end);
- assert(_time >= start && _time <= end);
+ QueuedEvent::execute(context);
+ assert(_time >= context.start() && _time <= context.end());
}