diff options
Diffstat (limited to 'utils')
-rw-r--r-- | utils/lv2apply.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/lv2apply.c b/utils/lv2apply.c index 7dfbb2e..c664d05 100644 --- a/utils/lv2apply.c +++ b/utils/lv2apply.c @@ -157,7 +157,7 @@ create_ports(LV2Apply* self) port->lilv_port = lport; port->index = i; - port->value = isnan(values[i]) ? values[i] : 0.0f; + port->value = isnan(values[i]) ? 0.0f : values[i]; port->optional = lilv_port_has_property( self->plugin, lport, lv2_connectionOptional); |