fix accumulated rounding error in BBT grid
authorDevin J. Pohly <djpohly@gmail.com>
Wed, 14 May 2014 06:47:32 +0000 (02:47 -0400)
committerPaul Davis <paul@linuxaudiosystems.com>
Wed, 14 May 2014 16:11:05 +0000 (12:11 -0400)
commit0aa2ed582aebade98b4ea3c276985551dbbfa3dd
tree80a373623258e1f1c3d5365a1eda4783c2955c6c
parente7b302029462ac6c698b69d89805020f5f3fab1f
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