Fix MIDI Clock transport master (#8750)
MIDI Start and Position messages need to leave the clock timestamp alone. They are not relevant to compute BPM.
This commit is contained in:
parent
cf0b119b45
commit
78c89fcbae
@ -324,7 +324,7 @@ MIDIClock_TransportMaster::start (Parser& /*parser*/, samplepos_t timestamp)
|
||||
}
|
||||
|
||||
_running = true;
|
||||
current.update (0, timestamp, 0);
|
||||
current.update (0, current.timestamp, 0);
|
||||
}
|
||||
|
||||
void
|
||||
@ -399,7 +399,7 @@ MIDIClock_TransportMaster::position (Parser& /*parser*/, MIDI::byte* message, si
|
||||
|
||||
DEBUG_TRACE (DEBUG::MidiClock, string_compose ("Song Position: %1 samples: %2\n", position_in_sixteenth_notes, position_in_samples));
|
||||
|
||||
current.update (position_in_samples + midi_port_latency.max, timestamp, 0);
|
||||
current.update (position_in_samples + midi_port_latency.max, current.timestamp, 0);
|
||||
}
|
||||
|
||||
bool
|
||||
|
Loading…
Reference in New Issue
Block a user