Make tap tempo use g_get_monotonic_time(), and fix minimum BPM
authorColin Fletcher <colin.m.fletcher@googlemail.com>
Fri, 16 May 2014 17:50:30 +0000 (18:50 +0100)
committerColin Fletcher <colin.m.fletcher@googlemail.com>
Sat, 5 Jul 2014 20:47:49 +0000 (21:47 +0100)
commit7815aa1e89e07e2785d6995b94a28a72a96c74cb
tree0715e871a2a433631f1bcbf67d15d1a0619a06bb
parent61d413ada423f456ad7687b2ae2d39047c7f53a6
Make tap tempo use g_get_monotonic_time(), and fix minimum BPM

gettimeofday() is not guaranteed to be monotonic: use
g_get_monotonic_time() instead.

Also, fix calculation of slowest tap tempo BPM so that the slowest tempo
which can be set by tapping is 10 BPM rather than 240.
gtk2_ardour/tempo_dialog.cc
gtk2_ardour/tempo_dialog.h