diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2017-06-11 19:53:02 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2017-09-18 11:40:53 -0400 |
commit | 982d173b5741a7ac4c76f858feb2ae0c9e60e1c2 (patch) | |
tree | 765bfbfe7d8cc6b537c8de383943ee4686c9fbce /libs/ardour/disk_writer.cc | |
parent | eb24353cadf6e25a26283cd9faad0bca0d118326 (diff) |
cue monitoring for audio (libardour aspects)
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); |