From 906deeb65880163de93027cd804c596f3bc2936e Mon Sep 17 00:00:00 2001 From: Timothy Krause Date: Tue, 30 Nov 2021 06:26:10 -0700 Subject: midigate: Fix output timing Previously, the state was updated before writing the output (up to the current time), so output "in the past" would be incorrectly written based on the current state. This fixes that by switching things around, so the output is first written up to the current time, then the state is updated (and the loop continues). This takes advantage of the fact that write_output() effectively does nothing with a zero length. --- lv2/core.lv2/meta.ttl | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lv2/core.lv2') diff --git a/lv2/core.lv2/meta.ttl b/lv2/core.lv2/meta.ttl index dd9650a..9aafd2e 100644 --- a/lv2/core.lv2/meta.ttl +++ b/lv2/core.lv2/meta.ttl @@ -45,6 +45,8 @@ THIS SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH R rdfs:label "Fix lv2.h missing from installation." ] , [ rdfs:label "Fix documentation build with Python 3.7." + ] , [ + rdfs:label "eg-midigate: Fix output timing." ] ] ] , [ -- cgit v1.2.1