Report Latency?
-
How do we report our plugins latency to the daw? I see there are some api's for this but Im not sure how its done.
-
@Chazrox https://docs.hise.audio/scripting/scripting-api/engine/index.html#setlatencysamples
Engine.setLatencySamples(int latency)sets the latency of the plugin as reported to the host. Default is 0
You have to calculate the latency yourself, then report it to the host with that call. It isn't automatic.