diff options
author | Nil Geisweiller <ngeiswei@gmail.com> | 2016-12-21 22:57:39 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2016-12-21 23:09:40 +0100 |
commit | 4c66e36b91df4e49effef77ad01c905ccedff730 (patch) | |
tree | 6ee2d4eadef3592979447d32ad94ba6e8914c7a2 /libs/timecode | |
parent | 91321272b59779546c7ca426b1c8ee94fc4f1740 (diff) |
Fix indentation 8 whitespaces to tab
Diffstat (limited to 'libs/timecode')
-rw-r--r-- | libs/timecode/src/bbt_time.cc | 14 | ||||
-rw-r--r-- | libs/timecode/timecode/bbt_time.h | 2 |
2 files changed, 8 insertions, 8 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))); } diff --git a/libs/timecode/timecode/bbt_time.h b/libs/timecode/timecode/bbt_time.h index 8b92f6efa9..b3ba3a6b57 100644 --- a/libs/timecode/timecode/bbt_time.h +++ b/libs/timecode/timecode/bbt_time.h @@ -41,7 +41,7 @@ struct LIBTIMECODE_API BBT_Time { BBT_Time (uint32_t ba, uint32_t be, uint32_t t) : bars (ba), beats (be), ticks (t) {} - BBT_Time (double beats); + BBT_Time (double beats); bool operator< (const BBT_Time& other) const { return bars < other.bars || |