summaryrefslogtreecommitdiff
path: root/libs/timecode/src/time.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2012-11-09 07:48:06 +0000
committerRobin Gareus <robin@gareus.org>2012-11-09 07:48:06 +0000
commite38ac84184d2719b982e1d71964fe6db7bdff56c (patch)
tree90e6d3e7057c0628af9d872fd98e08d63772310f /libs/timecode/src/time.cc
parent838a8a01371a95bf7efa4dd94d96055c6dde344c (diff)
use double for timecode fps.
git-svn-id: svn://localhost/ardour2/branches/3.0@13404 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/timecode/src/time.cc')
-rw-r--r--libs/timecode/src/time.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/timecode/src/time.cc b/libs/timecode/src/time.cc
index b848db79b3..2d41d9b622 100644
--- a/libs/timecode/src/time.cc
+++ b/libs/timecode/src/time.cc
@@ -26,7 +26,7 @@
namespace Timecode {
-float Time::default_rate = 30.0;
+double Time::default_rate = 30.0;
/** Increment @a timecode by exactly one frame (keep subframes value).
@@ -424,7 +424,7 @@ hours_floor(Time& timecode)
}
}
-float
+double
timecode_to_frames_per_second(TimecodeFormat t)
{
switch (t) {