aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2022-08-10 13:24:24 -0400
committerDavid Robillard <d@drobilla.net>2022-08-17 13:51:00 -0400
commitc404b409073b65812b48c5048b64e01c594ad253 (patch)
tree977ceda786d5faaaab3df1d526adf0710f6f7a1d
parente3c955522472d147e5c01d55936cdf459b3df9fb (diff)
downloadjalv-c404b409073b65812b48c5048b64e01c594ad253.tar.gz
jalv-c404b409073b65812b48c5048b64e01c594ad253.tar.bz2
jalv-c404b409073b65812b48c5048b64e01c594ad253.zip
Clean up log messages for consistency
-rw-r--r--src/jack.c2
-rw-r--r--src/jalv.c6
2 files changed, 4 insertions, 4 deletions
diff --git a/src/jack.c b/src/jack.c
index da99703..c167d75 100644
--- a/src/jack.c
+++ b/src/jack.c
@@ -261,7 +261,7 @@ jack_process_cb(jack_nframes_t nframes, void* data)
ev->size = sizeof(float);
*(float*)(ev + 1) = port->control;
if (zix_ring_write(jalv->plugin_to_ui, buf, sizeof(buf)) < sizeof(buf)) {
- jalv_log(JALV_LOG_ERR, "Plugin => UI buffer overflow!\n");
+ jalv_log(JALV_LOG_ERR, "Plugin => UI buffer overflow\n");
}
}
}
diff --git a/src/jalv.c b/src/jalv.c
index 7bedc4e..306b641 100644
--- a/src/jalv.c
+++ b/src/jalv.c
@@ -505,14 +505,14 @@ jalv_send_to_plugin(void* const jalv_handle,
if (protocol != 0 && protocol != jalv->urids.atom_eventTransfer) {
jalv_log(JALV_LOG_ERR,
- "UI write with unsupported protocol %u (%s)\n",
+ "UI wrote with unsupported protocol %u (%s)\n",
protocol,
unmap_uri(jalv, protocol));
return;
}
if (port_index >= jalv->num_ports) {
- jalv_log(JALV_LOG_ERR, "UI write to invalid port index %u\n", port_index);
+ jalv_log(JALV_LOG_ERR, "UI wrote to invalid port index %u\n", port_index);
return;
}
@@ -1248,7 +1248,7 @@ jalv_open(Jalv* const jalv, int* argc, char*** argv)
jalv->instance = lilv_plugin_instantiate(
jalv->plugin, jalv->sample_rate, jalv->feature_list);
if (!jalv->instance) {
- jalv_log(JALV_LOG_ERR, "Failed to instantiate plugin.\n");
+ jalv_log(JALV_LOG_ERR, "Failed to instantiate plugin\n");
jalv_close(jalv);
return -9;
}