aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-04-28 04:34:18 +0000
committerDavid Robillard <d@drobilla.net>2012-04-28 04:34:18 +0000
commitdce7650a2c8c25947cfe4c289e83e45ce021d690 (patch)
tree265d67fe4a8126de25095ab64f22bcc13ab12ff0
parent84a86ae683ce632acb906da2cd7d7a99626db38c (diff)
downloadjalv-dce7650a2c8c25947cfe4c289e83e45ce021d690.tar.gz
jalv-dce7650a2c8c25947cfe4c289e83e45ce021d690.tar.bz2
jalv-dce7650a2c8c25947cfe4c289e83e45ce021d690.zip
Crank up the update rate a bit.
git-svn-id: http://svn.drobilla.net/lad/trunk/jalv@4299 a436a847-0d15-0410-975c-d299462d15a1
-rw-r--r--src/jalv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jalv.c b/src/jalv.c
index db2e32a..52f9324 100644
--- a/src/jalv.c
+++ b/src/jalv.c
@@ -856,7 +856,7 @@ main(int argc, char** argv)
/* Calculate theoretical UI update frequency. */
host.sample_rate = jack_get_sample_rate(host.jack_client);
- host.ui_update_hz = (double)host.sample_rate / host.midi_buf_size;
+ host.ui_update_hz = (double)host.sample_rate / host.midi_buf_size * 2.0;
/* The UI can only go so fast, clamp to reasonable limits */
host.ui_update_hz = MIN(60, host.ui_update_hz);