aboutsummaryrefslogtreecommitdiffstats
path: root/src/jack.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/jack.c')
-rw-r--r--src/jack.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/jack.c b/src/jack.c
index 7a3d6dc..9a999ee 100644
--- a/src/jack.c
+++ b/src/jack.c
@@ -107,13 +107,12 @@ jack_process_cb(jack_nframes_t nframes, void* data)
}
if (jalv->opts.dump) {
- char* str = sratom_to_turtle(
- jalv->sratom, &jalv->unmap, "time:", NULL, NULL,
- lv2_pos->type, lv2_pos->size, LV2_ATOM_BODY(lv2_pos));
+ char* str = sratom_to_string(
+ jalv->sratom, jalv->env, lv2_pos, SRATOM_PRETTY_NUMBERS);
jalv_ansi_start(stdout, 36);
printf("\n## Position ##\n%s\n", str);
jalv_ansi_reset(stdout);
- free(str);
+ sratom_free(str);
}
}