diff options
author | Robin Gareus <robin@gareus.org> | 2012-10-10 20:37:59 +0000 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2012-10-10 20:37:59 +0000 |
commit | 0441bc140edaa4edb57bd1b4caf34d15b3f9a3bc (patch) | |
tree | fedd5d7c4f294f8eb622a6566ff4cd7a4a80a402 /libs/ardour/mtc_slave.cc | |
parent | 915797fd232bf09231ae0390795fad5c93283193 (diff) |
MTC slave, don't touch position if no MTC was received
git-svn-id: svn://localhost/ardour2/branches/3.0@13232 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/mtc_slave.cc')
-rw-r--r-- | libs/ardour/mtc_slave.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/ardour/mtc_slave.cc b/libs/ardour/mtc_slave.cc index e46e9eb955..ff1bdc4583 100644 --- a/libs/ardour/mtc_slave.cc +++ b/libs/ardour/mtc_slave.cc @@ -561,8 +561,8 @@ MTC_Slave::speed_and_position (double& speed, framepos_t& pos) if (last.timestamp == 0) { speed = 0; - pos = last.position; - DEBUG_TRACE (DEBUG::MTC, string_compose ("first call to MTC_Slave::speed_and_position, pos = %1\n", last.position)); + pos = session.transport_frame() ; // last.position; + DEBUG_TRACE (DEBUG::MTC, string_compose ("first call to MTC_Slave::speed_and_position, pos = %1\n", pos)); return true; } |