From 145d7f8d0af5c9396f59ca196ad664c93d7d2b24 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Tue, 22 Jan 2019 21:54:22 +0100 Subject: 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. --- libs/ardour/worker.cc | 1 + 1 file changed, 1 insertion(+) 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)) { -- cgit v1.2.3