13
0

don't run MIDI clock "tick" if session is silent (e.g. due to a locate)

This commit is contained in:
Paul Davis 2013-12-02 23:33:33 -05:00
parent c19f9f8a47
commit 76ea055b85

View File

@ -83,7 +83,7 @@ Session::process (pframes_t nframes)
*/
try {
if (!_engine.freewheeling() && Config->get_send_midi_clock() && transport_speed() == 1.0f && midi_clock->has_midi_port()) {
if (!_silent && !_engine.freewheeling() && Config->get_send_midi_clock() && (transport_speed() == 1.0f || transport_speed() == 0.0f) && midi_clock->has_midi_port()) {
midi_clock->tick (transport_at_start, nframes);
}
} catch (...) {