summaryrefslogtreecommitdiff
path: root/libs/ardour/worker.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2019-01-22 21:54:22 +0100
committerRobin Gareus <robin@gareus.org>2019-01-22 21:54:22 +0100
commit145d7f8d0af5c9396f59ca196ad664c93d7d2b24 (patch)
tree43b7c3a368958f747bd0d59db81dea8fe5a72c28 /libs/ardour/worker.cc
parent586792fcc95e117017c0e320d9615ff93c2376af (diff)
LV2: Immediately respond after processing scheduled work in sync exec mode
This allows for sample-accuracy when the work is triggered by sequenced events in offline rendering mode.
Diffstat (limited to 'libs/ardour/worker.cc')
-rw-r--r--libs/ardour/worker.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/ardour/worker.cc b/libs/ardour/worker.cc
index 024ec8b6ad..dd8f9e354f 100644
--- a/libs/ardour/worker.cc
+++ b/libs/ardour/worker.cc
@@ -61,6 +61,7 @@ Worker::schedule(uint32_t size, const void* data)
{
if (_synchronous || !_requests) {
_workee->work(*this, size, data);
+ emit_responses ();
return true;
}
if (_requests->write_space() < size + sizeof(size)) {