diff options
author | Robin Gareus <robin@gareus.org> | 2012-10-12 01:08:29 +0000 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2012-10-12 01:08:29 +0000 |
commit | a9abe3b1e1a1e260cf1cbf148ab3909a719817d1 (patch) | |
tree | e6eb1f71bbd946abff39260a0232dd61b844c9bc /libs/ardour/mtc_slave.cc | |
parent | 9116ea83ddc30aebb6bb5a8fa0f4a55be8984ceb (diff) |
move TimecodeFormat to libtimecode
provide a way to convert any TimecodeFormat to float frame-rate,
not only the currently active timecode_foramt.
git-svn-id: svn://localhost/ardour2/branches/3.0@13249 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/mtc_slave.cc')
-rw-r--r-- | libs/ardour/mtc_slave.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/ardour/mtc_slave.cc b/libs/ardour/mtc_slave.cc index f2477b4175..af6394a215 100644 --- a/libs/ardour/mtc_slave.cc +++ b/libs/ardour/mtc_slave.cc @@ -38,6 +38,7 @@ using namespace std; using namespace ARDOUR; using namespace MIDI; using namespace PBD; +using namespace Timecode; /* length (in timecode frames) of the "window" that we consider legal given receipt of a given timecode position. Ardour will try to chase within this window, and will @@ -280,7 +281,7 @@ MTC_Slave::update_mtc_time (const byte *msg, bool was_full, framepos_t now) */ //DEBUG_TRACE (DEBUG::MTC, string_compose ("MTC::update_mtc_time - TID:%1\n", ::pthread_self())); - Timecode::Time timecode; + Time timecode; TimecodeFormat tc_format; bool reset_tc = true; |