mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-17 04:06:26 +01:00
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
This commit is contained in:
parent
915797fd23
commit
0441bc140e
1 changed files with 2 additions and 2 deletions
|
|
@ -561,8 +561,8 @@ MTC_Slave::speed_and_position (double& speed, framepos_t& pos)
|
||||||
|
|
||||||
if (last.timestamp == 0) {
|
if (last.timestamp == 0) {
|
||||||
speed = 0;
|
speed = 0;
|
||||||
pos = 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", last.position));
|
DEBUG_TRACE (DEBUG::MTC, string_compose ("first call to MTC_Slave::speed_and_position, pos = %1\n", pos));
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue