diff options
author | David Robillard <d@drobilla.net> | 2018-09-22 22:14:32 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2018-09-22 22:14:43 +0200 |
commit | 00ca5d2888fe510cd189c292e9fef16d02676ff5 (patch) | |
tree | 79609d4d6a386a445c9f8c85bd7055b84d66932f /src | |
parent | eb95b6f0e129dd185a833be2f55aaa4e7f37f703 (diff) | |
download | jalv-00ca5d2888fe510cd189c292e9fef16d02676ff5.tar.gz jalv-00ca5d2888fe510cd189c292e9fef16d02676ff5.tar.bz2 jalv-00ca5d2888fe510cd189c292e9fef16d02676ff5.zip |
Only print initial value for control inputs
Diffstat (limited to 'src')
-rw-r--r-- | src/jalv.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1149,7 +1149,7 @@ main(int argc, char** argv) /* Print initial control values */ for (size_t i = 0; i < jalv.controls.n_controls; ++i) { ControlID* control = jalv.controls.controls[i]; - if (control->type == PORT) {// && control->value_type == jalv->forge.Float) { + if (control->type == PORT && control->is_writable) { struct Port* port = &jalv.ports[control->index]; print_control_value(&jalv, port, port->control); } |