diff options
author | David Robillard <d@drobilla.net> | 2024-11-15 11:56:18 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2024-11-24 18:59:59 -0500 |
commit | a584a1f33002f9fefda29842f0ec5f58316252af (patch) | |
tree | 7fa5466b3ea0657986e7c8caeb629af92e553cf1 /src/jack.c | |
parent | 7ab8a8f8771aed943e1e154c7a7c7040f7e7be3b (diff) | |
download | jalv-a584a1f33002f9fefda29842f0ec5f58316252af.tar.gz jalv-a584a1f33002f9fefda29842f0ec5f58316252af.tar.bz2 jalv-a584a1f33002f9fefda29842f0ec5f58316252af.zip |
Avoid querying the lilv model in the process callback
Diffstat (limited to 'src/jack.c')
-rw-r--r-- | src/jack.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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); |