diff options
author | David Robillard <d@drobilla.net> | 2022-05-27 14:12:00 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2022-05-27 14:12:00 -0400 |
commit | def291b51213a04bfd7c81aea14ae7ad1c30e8ef (patch) | |
tree | 10b9fe47996f161062d26f05cc37b6b75532f3d5 /src | |
parent | da4b42a47a4f2175b7ab5793a0a8fd66c2d940ff (diff) | |
download | jalv-def291b51213a04bfd7c81aea14ae7ad1c30e8ef.tar.gz jalv-def291b51213a04bfd7c81aea14ae7ad1c30e8ef.tar.bz2 jalv-def291b51213a04bfd7c81aea14ae7ad1c30e8ef.zip |
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.
Diffstat (limited to 'src')
-rw-r--r-- | src/jalv_console.c | 2 |
1 files changed, 2 insertions, 0 deletions
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 |