use ::reset() not ::update()
This commit is contained in:
parent
90e5220fa6
commit
3cc3074dc7
@ -298,7 +298,7 @@ MIDIClock_TransportMaster::reset (bool with_position)
|
||||
if (with_position) {
|
||||
current.update (_session->transport_sample(), 0, 0);
|
||||
} else {
|
||||
current.update (0, 0, 0);
|
||||
current.reset ();
|
||||
}
|
||||
|
||||
_running = false;
|
||||
|
@ -234,9 +234,9 @@ MTC_TransportMaster::reset (bool with_position)
|
||||
DEBUG_TRACE (DEBUG::MTC, string_compose ("MTC_TransportMaster reset %1\n", with_position?"with position":"without position"));
|
||||
|
||||
if (with_position) {
|
||||
current.update (0, 0, 0);
|
||||
} else {
|
||||
current.update (current.position, 0, 0);
|
||||
} else {
|
||||
current.reset ();
|
||||
}
|
||||
first_mtc_timestamp = 0;
|
||||
window_begin = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user