From 1b38b8bc4e4e5ca9250cca15bb547ce926b0592e Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 26 Jul 2012 16:01:50 +0000 Subject: Increase notification ring size. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4559 a436a847-0d15-0410-975c-d299462d15a1 --- src/server/Context.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src/server/Context.cpp') 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, -- cgit v1.2.1