Plugin.latencyPortIndex

uint latencyPortIndex() @nogc nothrow

Return the index of the plugin’s latency port.

It is a fatal error to call this on a plugin without checking if the port exists by first calling hasLatency().

Any plugin that introduces unwanted latency that should be compensated for (by hosts with the ability/need) MUST provide this port, which is a control rate output port that reports the latency for each cycle in frames.

Returns

Index of plugins latency port