[][src]Function lilv_sys::lilv_plugin_get_latency_port_index

pub unsafe extern "C" fn lilv_plugin_get_latency_port_index(
    plugin: *const LilvPlugin
) -> u32

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 lilv_plugin_has_latency().

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.