fix accumulated rounding error in BBT grid
authorDevin J. Pohly <djpohly@gmail.com>
Wed, 14 May 2014 06:47:32 +0000 (02:47 -0400)
committerDevin J. Pohly <djpohly@gmail.com>
Wed, 14 May 2014 06:54:01 +0000 (02:54 -0400)
commitd067e27762e6ee69dabc9d48a80828b6287511c1
tree2e04fc1abf6c7613ca4c6e7bf387b56eb593ac01
parent2f6065b32c26dba0f7ea5da5c980d0406c36cc55
fix accumulated rounding error in BBT grid

Though current_frame is an integral type (framepos_t), it was being
added to as if it were floating-point, leading to an ever-increasing
rounding error when creating the grid for bars/beats/ticks.
libs/ardour/tempo.cc