From 2be47b4bf84c508133ad1f31db689a09307487be Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 4 Jan 2014 20:45:40 +0000 Subject: Fix event throughput. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5261 a436a847-0d15-0410-975c-d299462d15a1 --- src/server/Engine.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/server') diff --git a/src/server/Engine.cpp b/src/server/Engine.cpp index 4c258d54..1b6d54ca 100644 --- a/src/server/Engine.cpp +++ b/src/server/Engine.cpp @@ -363,7 +363,7 @@ Engine::enqueue_event(Event* ev) unsigned Engine::process_events() { - const size_t MAX_EVENTS_PER_CYCLE = 4;//_process_context.nframes() / 4; + const size_t MAX_EVENTS_PER_CYCLE = _process_context.nframes() / 4; return _pre_processor->process( _process_context, *_post_processor, MAX_EVENTS_PER_CYCLE); } -- cgit v1.2.1