diff options
Diffstat (limited to 'libs/timecode/src/bbt_time.cc')
-rw-r--r-- | libs/timecode/src/bbt_time.cc | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/libs/timecode/src/bbt_time.cc b/libs/timecode/src/bbt_time.cc index b2cf9dadfe..826f0cd91f 100644 --- a/libs/timecode/src/bbt_time.cc +++ b/libs/timecode/src/bbt_time.cc @@ -35,14 +35,14 @@ const double BBT_Time::ticks_per_beat = 1920.0; 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 - always be zero. - */ + /* NOTE: this does not construct a BBT time in a canonical form, + in that beats may be a very large number, and bars will + always be zero. + */ assert (dbeats >= 0); - bars = 0; - beats = lrint (floor (dbeats)); - ticks = lrint (floor (BBT_Time::ticks_per_beat * fmod (dbeats, 1.0))); + bars = 0; + beats = lrint (floor (dbeats)); + ticks = lrint (floor (BBT_Time::ticks_per_beat * fmod (dbeats, 1.0))); } |