diff options
author | David Robillard <d@drobilla.net> | 2022-08-10 02:24:16 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2022-08-17 13:50:51 -0400 |
commit | ee2e5da44af30ace6fdbc488f5275557ee3442b5 (patch) | |
tree | fed0f6a863bac46c61f88ca26967c83d77360545 | |
parent | 4e173ca441599d164fa7eb7eb3676f722de62b4d (diff) | |
download | jalv-ee2e5da44af30ace6fdbc488f5275557ee3442b5.tar.gz jalv-ee2e5da44af30ace6fdbc488f5275557ee3442b5.tar.bz2 jalv-ee2e5da44af30ace6fdbc488f5275557ee3442b5.zip |
Fix whitespace
-rw-r--r-- | src/jalv.c | 7 | ||||
-rw-r--r-- | src/jalv_internal.h | 1 |
2 files changed, 6 insertions, 2 deletions
@@ -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); |