From 2a30df0827b63e98a3f7663abf383c894da1e0eb Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Wed, 15 Dec 2010 03:03:30 +0000 Subject: fix stupid variable naming issue in last BBT commit git-svn-id: svn://localhost/ardour2/branches/3.0@8282 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/timecode/src/bbt_time.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libs') 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))); } -- cgit v1.2.3