diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2010-12-15 03:03:30 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2010-12-15 03:03:30 +0000 |
commit | 2a30df0827b63e98a3f7663abf383c894da1e0eb (patch) | |
tree | 1d81f59194676f4c8cce588aa42021fa63d7437d /libs/timecode | |
parent | a6ed335ae9b6bb6a02b001e031884381b8a73b80 (diff) |
fix stupid variable naming issue in last BBT commit
git-svn-id: svn://localhost/ardour2/branches/3.0@8282 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/timecode')
-rw-r--r-- | libs/timecode/src/bbt_time.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/timecode/src/bbt_time.cc b/libs/timecode/src/bbt_time.cc index 43b65c218b..2ece391786 100644 --- a/libs/timecode/src/bbt_time.cc +++ b/libs/timecode/src/bbt_time.cc @@ -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))); } |