Only record when in modect or nodect. Linked monitors would cause a monitor in monitor mode to record

This commit is contained in:
Isaac Connor 2021-10-19 13:04:49 -04:00
parent 16d0e269df
commit 6d7f752eb0
1 changed files with 1 additions and 2 deletions

View File

@ -2040,8 +2040,7 @@ bool Monitor::Analyse() {
} // end if ! event } // end if ! event
} // end if RECORDING } // end if RECORDING
if (score) { if (score and (function == MODECT or function == NODECT)) {
if ((state == IDLE) || (state == TAPE) || (state == PREALARM)) { if ((state == IDLE) || (state == TAPE) || (state == PREALARM)) {
// If we should end then previous continuous event and start a new non-continuous event // If we should end then previous continuous event and start a new non-continuous event
if (event && event->Frames() if (event && event->Frames()