diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2015-09-22 13:18:08 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2015-09-28 17:42:11 -0400 |
commit | 3e23b5903eb7297370ac38daf130e688a086910c (patch) | |
tree | 45a9b9cbd1a0f4d0b9419f4e4f9201b1d39c61e4 | |
parent | ebb43508f1ab75b7d7467e0e95cdd1c816cf3183 (diff) |
Session::disable_record() should work whether we are in loop mode or not
-rw-r--r-- | libs/ardour/session.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/session.cc b/libs/ardour/session.cc index 43b5790228..40e80c8c4f 100644 --- a/libs/ardour/session.cc +++ b/libs/ardour/session.cc @@ -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 { |