From 84960435d40ed4726d17e5fe4ab5caac791ec2e5 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 2 Oct 2016 19:30:15 -0400 Subject: Round reported value for integer control ports --- src/port.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/port.c b/src/port.c index 7810cce..aeca543 100644 --- a/src/port.c +++ b/src/port.c @@ -639,7 +639,7 @@ ganv_port_set_control_value_internal(GanvPort* port, ganv_port_set_control_value(port, value); // Fire signal to notify user value has changed - const double dvalue = value; + const double dvalue = port->impl->control->value; g_signal_emit(port, port_signals[PORT_VALUE_CHANGED], 0, dvalue, NULL); } -- cgit v1.2.1