That's actually how I'd interpret the spec: the host can fetch the latency once and cache, then if the plugin wants it changed it should tell the host about it by calling host_ext_latency->changed().diroxe7660 wrote: Fri May 24, 2024 9:26 amHm, might be worth clarifying for host implementers somewhere. I can't get Reaper to pick up my latency without the plugin calling host_ext_latency->changed(). But maybe I'm doing it wrong.abique wrote: Fri May 24, 2024 7:44 am The host should lookup those values and cache those after activation anyway (latency, tail).
If it doesn't get picked up, host bug.
Also keep in mind that any plugin changing it's latency is a potentially (moderately) expensive operation for the host, because it will likely have to recalculate it's whole PDC graph and perhaps reallocate buffers and what not... which is why it's also not allowed without suspending the plugin (and realistically that might typically also mean temporarily suspending the whole processing graph in the host).
