fix rounding error in the min:sec ruler
authorDevin J. Pohly <djpohly@gmail.com>
Wed, 14 May 2014 05:40:30 +0000 (01:40 -0400)
committerDevin J. Pohly <djpohly@gmail.com>
Wed, 14 May 2014 12:35:43 +0000 (08:35 -0400)
commit3b4b848d5afd798e059b4f0ccb94991fa3b28332
treecd38f2dc8d441e1115784f021a09d8c9584b8316
parent2f6065b32c26dba0f7ea5da5c980d0406c36cc55
fix rounding error in the min:sec ruler

When zoomed in to the millisecond level, the framerate was being divided
by 1000 as an integer to generate a ruler tick interval, which doesn't
work so well at things like 44100 or 88200.  Instead, just count this
value in milliseconds, dividing by 1000 when we are done.

This was purely a display issue - the grid was in the correct place.
gtk2_ardour/editor_rulers.cc