From 84a86ae683ce632acb906da2cd7d7a99626db38c Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 28 Apr 2012 04:15:57 +0000 Subject: Tune UI update rate and ring size based on JACK rate and MIDI buffer size to handle the handle the maximum message rate the plugin can send. git-svn-id: http://svn.drobilla.net/lad/trunk/jalv@4298 a436a847-0d15-0410-975c-d299462d15a1 --- src/jalv_gtk2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/jalv_gtk2.c') diff --git a/src/jalv_gtk2.c b/src/jalv_gtk2.c index ec0c444..4e0a8f8 100644 --- a/src/jalv_gtk2.c +++ b/src/jalv_gtk2.c @@ -578,7 +578,7 @@ jalv_open_ui(Jalv* jalv, box_size.height + controls_size.height); } - g_timeout_add(1000 / JALV_UI_UPDATE_HZ, + g_timeout_add(1000 / jalv->ui_update_hz, (GSourceFunc)jalv_emit_ui_events, jalv); jalv->has_ui = TRUE; -- cgit v1.2.1