summaryrefslogtreecommitdiffstats
path: root/src/libs/engine/events/RequestPluginEvent.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/engine/events/RequestPluginEvent.cpp')
-rw-r--r--src/libs/engine/events/RequestPluginEvent.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/libs/engine/events/RequestPluginEvent.cpp b/src/libs/engine/events/RequestPluginEvent.cpp
index 693a021a..af7a4754 100644
--- a/src/libs/engine/events/RequestPluginEvent.cpp
+++ b/src/libs/engine/events/RequestPluginEvent.cpp
@@ -25,6 +25,7 @@
#include "ClientBroadcaster.hpp"
#include "NodeFactory.hpp"
#include "Plugin.hpp"
+#include "ProcessContext.hpp"
using std::string;
@@ -49,10 +50,10 @@ RequestPluginEvent::pre_process()
void
-RequestPluginEvent::execute(SampleCount nframes, FrameTime start, FrameTime end)
+RequestPluginEvent::execute(ProcessContext& context)
{
- QueuedEvent::execute(nframes, start, end);
- assert(_time >= start && _time <= end);
+ QueuedEvent::execute(context);
+ assert(_time >= context.start() && _time <= context.end());
}