From a584a1f33002f9fefda29842f0ec5f58316252af Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 15 Nov 2024 11:56:18 -0500 Subject: Avoid querying the lilv model in the process callback --- src/jack.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/jack.c') diff --git a/src/jack.c b/src/jack.c index fd7a6f1..7971987 100644 --- a/src/jack.c +++ b/src/jack.c @@ -202,8 +202,7 @@ jack_process_cb(jack_nframes_t nframes, void* data) for (uint32_t p = 0; p < jalv->num_ports; ++p) { struct Port* const port = &jalv->ports[p]; if (port->flow == FLOW_OUTPUT && port->type == TYPE_CONTROL && - lilv_port_has_property( - jalv->plugin, port->lilv_port, jalv->nodes.lv2_reportsLatency)) { + port->reports_latency) { if (jalv->plugin_latency != port->control) { jalv->plugin_latency = port->control; jack_recompute_total_latencies(client); -- cgit v1.2.1