mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 19:16:40 +01:00
Fix indentation 8 whitespaces to tab
This commit is contained in:
parent
91321272b5
commit
4c66e36b91
19 changed files with 295 additions and 296 deletions
|
|
@ -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 ||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue