complete r13404 - use double for timecode fps.
authorRobin Gareus <robin@gareus.org>
Tue, 13 Nov 2012 02:00:45 +0000 (02:00 +0000)
committerRobin Gareus <robin@gareus.org>
Tue, 13 Nov 2012 02:00:45 +0000 (02:00 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@13471 d708f5d6-7413-0410-9779-e7cbd77b26cf

libs/ardour/ardour/session.h
libs/ardour/session_time.cc

index 89744669e7fc6ff0bdb413b18ade168592609791..521054dfdfd05a47707a5ee52149fbec1c4ff5da 100644 (file)
@@ -361,7 +361,7 @@ class Session : public PBD::StatefulDestructible, public PBD::ScopedConnectionLi
                return mtc_timecode_bits;   /* encoding of SMTPE type for MTC */
        }
 
-       float timecode_frames_per_second() const;
+       double timecode_frames_per_second() const;
        bool timecode_drop_frames() const;
 
        /* Locations */
index 9a1507831cb178719d033d1fd7dcc687f2d1cdc2..5e25aaf5080d28af5d428b8052e0872795980a2a 100644 (file)
@@ -51,7 +51,7 @@ Session::bbt_time (framepos_t when, Timecode::BBT_Time& bbt)
 
 /* Timecode TIME */
 
-float
+double
 Session::timecode_frames_per_second() const
 {
        return Timecode::timecode_to_frames_per_second (config.get_timecode_format());