aboutsummaryrefslogtreecommitdiffstats
path: root/include/lv2/atom
diff options
context:
space:
mode:
authorTimothy Krause <tmkrs4482@gmail.com>2021-11-30 06:26:10 -0700
committerDavid Robillard <d@drobilla.net>2022-08-07 21:21:01 -0400
commit906deeb65880163de93027cd804c596f3bc2936e (patch)
treeba7b93dc887c11113a86bce2b2934a62a46f4f47 /include/lv2/atom
parentdf88fe0d9d954a7f4076a680fccb04c78ac80f11 (diff)
downloadlv2-906deeb65880163de93027cd804c596f3bc2936e.tar.xz
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.
Diffstat (limited to 'include/lv2/atom')
0 files changed, 0 insertions, 0 deletions