Session::disable_record() should work whether we are in loop mode or not

This commit is contained in:
Paul Davis 2015-09-22 13:18:08 -04:00
parent ebb43508f1
commit 3e23b5903e

View file

@ -1817,7 +1817,7 @@ Session::disable_record (bool rt_context, bool force)
if ((rs = (RecordState) g_atomic_int_get (&_record_status)) != Disabled) {
if ((!Config->get_latched_record_enable () && !play_loop) || force) {
if (!Config->get_latched_record_enable () || force) {
g_atomic_int_set (&_record_status, Disabled);
send_immediate_mmc (MIDI::MachineControlCommand (MIDI::MachineControl::cmdRecordExit));
} else {