From def291b51213a04bfd7c81aea14ae7ad1c30e8ef Mon Sep 17 00:00:00 2001 From: David Robillard <d@drobilla.net> Date: Fri, 27 May 2022 14:12:00 -0400 Subject: Flush stdout after printing control values Although the stdout of Jalv is not really designed/suitable for machine control, this at least allows parent processes to get new control values immediately as they are initialized or changed. --- src/jalv_console.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/jalv_console.c b/src/jalv_console.c index 117fb90..6b54b28 100644 --- a/src/jalv_console.c +++ b/src/jalv_console.c @@ -151,6 +151,8 @@ jalv_print_controls(Jalv* jalv, bool writable, bool readable) printf("%s = %f\n", lilv_node_as_string(control->symbol), port->control); } } + + fflush(stdout); } static int -- cgit v1.2.1