diff options
Diffstat (limited to 'libs/ardour/disk_writer.cc')
-rw-r--r-- | libs/ardour/disk_writer.cc | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/libs/ardour/disk_writer.cc b/libs/ardour/disk_writer.cc index 5ff7b48e9c..4a1c24c1fd 100644 --- a/libs/ardour/disk_writer.cc +++ b/libs/ardour/disk_writer.cc @@ -434,6 +434,19 @@ DiskWriter::run (BufferSet& bufs, framepos_t start_frame, framepos_t end_frame, bool re = record_enabled (); bool can_record = _session.actively_recording (); + if (_active) { + if (!_pending_active) { + _active = false; + return; + } + } else { + if (_pending_active) { + _active = true; + } else { + return; + } + } + _need_butler = false; check_record_status (start_frame, can_record); |