summaryrefslogtreecommitdiffstats
path: root/src/server
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2014-01-04 20:45:40 +0000
committerDavid Robillard <d@drobilla.net>2014-01-04 20:45:40 +0000
commit2be47b4bf84c508133ad1f31db689a09307487be (patch)
tree6647785acb959b2450cb8a5ca7a7f714f7d521f9 /src/server
parentaab0d5e9bfd13dea685614d03f420273678f8f60 (diff)
downloadingen-2be47b4bf84c508133ad1f31db689a09307487be.tar.gz
ingen-2be47b4bf84c508133ad1f31db689a09307487be.tar.bz2
ingen-2be47b4bf84c508133ad1f31db689a09307487be.zip
Fix event throughput.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5261 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/server')
-rw-r--r--src/server/Engine.cpp2
1 files changed, 1 insertions, 1 deletions
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);
}