13
0

use ::reset() not ::update()

This commit is contained in:
Paul Davis 2019-02-04 11:24:23 -07:00
parent 90e5220fa6
commit 3cc3074dc7
2 changed files with 3 additions and 3 deletions

View File

@ -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;

View File

@ -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;