aboutsummaryrefslogtreecommitdiffstats
path: root/src/jalv.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2024-11-17 15:51:30 -0500
committerDavid Robillard <d@drobilla.net>2024-11-24 19:06:36 -0500
commit73e0744d9c2381038fbda7f2c53a0aabd6780b03 (patch)
treeb093118645a82bc717186a97494440bdff68a688 /src/jalv.c
parenta1e30029fb5254ae83a056bc192627e3dbf6c205 (diff)
downloadjalv-73e0744d9c2381038fbda7f2c53a0aabd6780b03.tar.gz
jalv-73e0744d9c2381038fbda7f2c53a0aabd6780b03.tar.bz2
jalv-73e0744d9c2381038fbda7f2c53a0aabd6780b03.zip
Replace misleading function name and documentation
Also clean up the frees in jalv_worker_new() to be in stack order while we're at it.
Diffstat (limited to 'src/jalv.c')
-rw-r--r--src/jalv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/jalv.c b/src/jalv.c
index 794d688..eebbdb9 100644
--- a/src/jalv.c
+++ b/src/jalv.c
@@ -1082,8 +1082,8 @@ jalv_open(Jalv* const jalv, int* argc, char*** argv)
(const LV2_Worker_Interface*)lilv_instance_get_extension_data(
jalv->instance, LV2_WORKER__interface);
- jalv_worker_start(jalv->worker, worker_iface, jalv->instance->lv2_handle);
- jalv_worker_start(
+ jalv_worker_attach(jalv->worker, worker_iface, jalv->instance->lv2_handle);
+ jalv_worker_attach(
jalv->state_worker, worker_iface, jalv->instance->lv2_handle);
jalv_log(JALV_LOG_INFO, "\n");