seems to work

This commit is contained in:
Isaac Connor
2017-12-01 07:26:34 -05:00
13 changed files with 106 additions and 174 deletions

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);