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 1a2665d8e5
commit 7cd8f3d887
1 changed files with 1 additions and 2 deletions

View File

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