aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/jalv.c7
-rw-r--r--src/jalv_internal.h1
2 files changed, 6 insertions, 2 deletions
diff --git a/src/jalv.c b/src/jalv.c
index ef4d403..0767d0c 100644
--- a/src/jalv.c
+++ b/src/jalv.c
@@ -506,7 +506,8 @@ jalv_ui_write(void* const jalv_handle,
if (jalv->opts.dump && protocol == jalv->urids.atom_eventTransfer) {
const LV2_Atom* atom = (const LV2_Atom*)buffer;
- char* str = sratom_to_turtle(jalv->sratom,
+
+ char* str = sratom_to_turtle(jalv->sratom,
&jalv->unmap,
"jalv:",
NULL,
@@ -689,7 +690,8 @@ jalv_update(Jalv* jalv)
if (jalv->opts.dump && ev.protocol == jalv->urids.atom_eventTransfer) {
// Dump event in Turtle to the console
LV2_Atom* atom = (LV2_Atom*)buf;
- char* str = sratom_to_turtle(jalv->ui_sratom,
+
+ char* str = sratom_to_turtle(jalv->ui_sratom,
&jalv->unmap,
"jalv:",
NULL,
@@ -697,6 +699,7 @@ jalv_update(Jalv* jalv)
atom->type,
atom->size,
LV2_ATOM_BODY(atom));
+
jalv_ansi_start(stdout, 35);
printf("\n## Plugin => UI (%u bytes) ##\n%s\n", atom->size, str);
jalv_ansi_reset(stdout);
diff --git a/src/jalv_internal.h b/src/jalv_internal.h
index 87c61d9..4a2e74c 100644
--- a/src/jalv_internal.h
+++ b/src/jalv_internal.h
@@ -184,6 +184,7 @@ jalv_send_to_ui(Jalv* jalv,
uint32_t type,
uint32_t size,
const void* body);
+
bool
jalv_run(Jalv* jalv, uint32_t nframes);