From 83c8296d1cd5e2de9fa875767fe93c8fbd5871f6 Mon Sep 17 00:00:00 2001 From: Jekyll Wu Date: Tue, 14 Feb 2012 06:56:34 +0800 Subject: [PATCH] Add simple comment for resetting the timer for monitoring silence --- src/Session.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Session.cpp b/src/Session.cpp index 39d430dbd..f76fe5f26 100644 --- a/src/Session.cpp +++ b/src/Session.cpp @@ -640,6 +640,7 @@ void Session::activityStateSet(int state) _activityTimer->start(activityMaskInSeconds * 1000); } + // reset the counter for monitoring continuous silence since ther is activity if (_monitorSilence) { _silenceTimer->start(_silenceSeconds * 1000); }