mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-21 22:26:29 +01:00
Session::disable_record() should work whether we are in loop mode or not
This commit is contained in:
parent
ebb43508f1
commit
3e23b5903e
1 changed files with 1 additions and 1 deletions
|
|
@ -1817,7 +1817,7 @@ Session::disable_record (bool rt_context, bool force)
|
||||||
|
|
||||||
if ((rs = (RecordState) g_atomic_int_get (&_record_status)) != Disabled) {
|
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);
|
g_atomic_int_set (&_record_status, Disabled);
|
||||||
send_immediate_mmc (MIDI::MachineControlCommand (MIDI::MachineControl::cmdRecordExit));
|
send_immediate_mmc (MIDI::MachineControlCommand (MIDI::MachineControl::cmdRecordExit));
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue