summaryrefslogtreecommitdiffstats
path: root/src/server/Event.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/Event.hpp')
-rw-r--r--src/server/Event.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/server/Event.hpp b/src/server/Event.hpp
index 8ed25c0f..203e5d1d 100644
--- a/src/server/Event.hpp
+++ b/src/server/Event.hpp
@@ -35,6 +35,7 @@ namespace Server {
class Engine;
class RunContext;
+class PreProcessContext;
/** An event (command) to perform some action on Ingen.
*
@@ -60,7 +61,7 @@ public:
enum class Execution { NORMAL, BLOCK, UNBLOCK };
/** Pre-process event before execution (non-realtime). */
- virtual bool pre_process() = 0;
+ virtual bool pre_process(PreProcessContext& ctx) = 0;
/** Execute this event in the audio thread (realtime). */
virtual void execute(RunContext& context) = 0;