13
0

fix stupid variable naming issue in last BBT commit

git-svn-id: svn://localhost/ardour2/branches/3.0@8282 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2010-12-15 03:03:30 +00:00
parent a6ed335ae9
commit 2a30df0827

View File

@ -24,7 +24,7 @@ using namespace Timecode;
const double BBT_Time::ticks_per_beat = 1920.0;
BBT_Time::BBT_Time (double beats)
BBT_Time::BBT_Time (double dbeats)
{
/* NOTE: this does not construct a BBT time in a canonical form,
in that beats may be a very large number, and bars will
@ -32,6 +32,6 @@ BBT_Time::BBT_Time (double beats)
*/
bars = 0;
beats = rint (floor (beats));
ticks = rint (floor (BBT_Time::ticks_per_beat * fmod (beats, 1.0)));
beats = rint (floor (dbeats));
ticks = rint (floor (BBT_Time::ticks_per_beat * fmod (dbeats, 1.0)));
}