diff options
author | Robin Gareus <robin@gareus.org> | 2015-10-05 16:17:49 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2015-10-05 16:17:49 +0200 |
commit | 22b07e0233a29d9633ffa825a79503befaf2e16e (patch) | |
tree | 1d8b06056f8e12197158f5d906319767d3dedda5 /libs/timecode | |
parent | e11ba7b79d68bc1070b170236c22123966d7bcc3 (diff) |
NOOP, remove trailing tabs/whitespace.
Diffstat (limited to 'libs/timecode')
-rw-r--r-- | libs/timecode/src/time.cc | 4 | ||||
-rw-r--r-- | libs/timecode/timecode/bbt_time.h | 10 | ||||
-rw-r--r-- | libs/timecode/timecode/time.h | 8 |
3 files changed, 11 insertions, 11 deletions
diff --git a/libs/timecode/src/time.cc b/libs/timecode/src/time.cc index 421accfdd1..494e6e1145 100644 --- a/libs/timecode/src/time.cc +++ b/libs/timecode/src/time.cc @@ -1,6 +1,6 @@ /* Copyright (C) 2006-2010 Paul Davis - + This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your @@ -161,7 +161,7 @@ decrement (Time& timecode, uint32_t subframes_per_frame) timecode.frames = 29; wrap = SECONDS; } - + } else { if (timecode.frames == 0) { timecode.frames = 29; diff --git a/libs/timecode/timecode/bbt_time.h b/libs/timecode/timecode/bbt_time.h index 31e62f23bf..8b92f6efa9 100644 --- a/libs/timecode/timecode/bbt_time.h +++ b/libs/timecode/timecode/bbt_time.h @@ -34,15 +34,15 @@ struct LIBTIMECODE_API BBT_Time { uint32_t bars; uint32_t beats; uint32_t ticks; - + BBT_Time () : bars (1), beats (1), ticks (0) {} - + BBT_Time (uint32_t ba, uint32_t be, uint32_t t) : bars (ba), beats (be), ticks (t) {} BBT_Time (double beats); - + bool operator< (const BBT_Time& other) const { return bars < other.bars || (bars == other.bars && beats < other.beats) || @@ -66,7 +66,7 @@ struct LIBTIMECODE_API BBT_Time { (bars >= other.bars && beats >= other.beats) || (bars >= other.bars && beats >= other.beats && ticks >= other.ticks); } - + bool operator== (const BBT_Time& other) const { return bars == other.bars && beats == other.beats && ticks == other.ticks; } @@ -75,7 +75,7 @@ struct LIBTIMECODE_API BBT_Time { return bars != other.bars || beats != other.beats || ticks != other.ticks; } }; - + } inline std::ostream& diff --git a/libs/timecode/timecode/time.h b/libs/timecode/timecode/time.h index 5ee763d33e..100b5d30d8 100644 --- a/libs/timecode/timecode/time.h +++ b/libs/timecode/timecode/time.h @@ -1,16 +1,16 @@ /* Copyright (C) 2006-2010 Paul Davis - + This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. - + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. - + You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. @@ -71,7 +71,7 @@ struct LIBTIMECODE_API Time { rate = a_rate; drop = (lrintf(100.f * (float)a_rate) == (long)2997); } - + bool operator== (const Time& other) const { return negative == other.negative && hours == other.hours && minutes == other.minutes && seconds == other.seconds && |