seems to work

This commit is contained in:
Isaac Connor committed 2017-12-01 07:26:34 -05:00
commit 0865201e1e
13 files changed
+106 -174

No files matched your search

+1 -1
View File
@@ -41,7 +41,7 @@ int AnalysisThread::run() {
if ( !monitor->Analyse() ) {
Debug(2, "Sleeping for %d", monitor->Active()?ZM_SAMPLE_RATE:ZM_SUSPENDED_RATE);
usleep(100*(monitor->Active()?ZM_SAMPLE_RATE:ZM_SUSPENDED_RATE));
usleep(10*(monitor->Active()?ZM_SAMPLE_RATE:ZM_SUSPENDED_RATE));
} else if ( analysis_rate ) {
Debug(2, "Sleeping for %d", analysis_rate);
usleep(analysis_rate);