Fix indentation 8 whitespaces to tab
This commit is contained in:
committed by
Robin Gareus
parent
91321272b5
commit
4c66e36b91
@@ -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)));
|
||||
}
|
||||
|
||||
@@ -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 ||
|
||||
|
||||
Reference in New Issue
Block a user