summaryrefslogtreecommitdiffstats
path: root/src/server/Context.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/Context.cpp')
-rw-r--r--src/server/Context.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/server/Context.cpp b/src/server/Context.cpp
index 86feaf67..0f7555a4 100644
--- a/src/server/Context.cpp
+++ b/src/server/Context.cpp
@@ -42,6 +42,17 @@ struct Notification
Raul::Atom::TypeID type;
};
+Context::Context(Engine& engine, size_t event_sink_size, ID id)
+ : _engine(engine)
+ , _id(id)
+ , _event_sink(event_sink_size * sizeof(Notification))
+ , _start(0)
+ , _end(0)
+ , _nframes(0)
+ , _offset(0)
+ , _realtime(true)
+{}
+
void
Context::notify(LV2_URID key,
FrameTime time,