diff options
author | David Robillard <d@drobilla.net> | 2012-07-26 16:01:50 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-07-26 16:01:50 +0000 |
commit | 1b38b8bc4e4e5ca9250cca15bb547ce926b0592e (patch) | |
tree | 26f2656dd2ad60ca68108de9cb2ee754ef721681 | |
parent | ea34189f0e7b9c0bcdea06c305443f7150373e8b (diff) | |
download | ingen-1b38b8bc4e4e5ca9250cca15bb547ce926b0592e.tar.gz ingen-1b38b8bc4e4e5ca9250cca15bb547ce926b0592e.tar.bz2 ingen-1b38b8bc4e4e5ca9250cca15bb547ce926b0592e.zip |
Increase notification ring size.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4559 a436a847-0d15-0410-975c-d299462d15a1
-rw-r--r-- | src/server/Context.cpp | 11 | ||||
-rw-r--r-- | src/server/Context.hpp | 11 |
2 files changed, 12 insertions, 10 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, diff --git a/src/server/Context.hpp b/src/server/Context.hpp index 7bcfb136..bd740504 100644 --- a/src/server/Context.hpp +++ b/src/server/Context.hpp @@ -49,16 +49,7 @@ public: MESSAGE }; - Context(Engine& engine, size_t event_sink_size, ID id) - : _engine(engine) - , _id(id) - , _event_sink(event_sink_size) - , _start(0) - , _end(0) - , _nframes(0) - , _offset(0) - , _realtime(true) - {} + Context(Engine& engine, size_t event_sink_size, ID id); virtual ~Context() {} |