drobilla / jalv

A simple fully-featured host for LV2 plugins
http://drobilla.net/software/jalv
ISC License
52 stars 18 forks source link

jack_recompute_total_latencies() is called in the process callback #49

Open drobilla opened 3 years ago

drobilla commented 3 years ago

... which is not allowed. See discussion at https://github.com/sjaehn/BSchaffl/issues/17

Original code from cebeaf2.

This event will need to be shunted to the UI thread and dealt with later somehow, though I don't know exactly how to do this correctly (or if it's even possible to do correctly, for some sufficiently pedantic definition of "correctly").

x42 commented 3 years ago

Ardour starts a background thread for interacting with jack1. Its only job is to make or break connections and send latency-callbacks.

drobilla commented 3 years ago

yaaaay :/