Raise pop threshold for loopback test.
This commit is contained in:
parent
c8dcb76f19
commit
af4e71a184
2 changed files with 15 additions and 10 deletions
|
|
@ -45,6 +45,7 @@
|
|||
#include "audio_analyzer.h"
|
||||
#include "write_wav.h"
|
||||
|
||||
#define PAQA_POP_THRESHOLD (0.04)
|
||||
|
||||
/*==========================================================================================*/
|
||||
double PaQa_GetNthFrequency( double baseFrequency, int index )
|
||||
|
|
@ -540,7 +541,7 @@ int PaQa_DetectPop( PaQaRecording *recording, PaQaTestTone *testTone, PaQaAnalys
|
|||
}
|
||||
}
|
||||
|
||||
if( maxAmplitude > 0.01 )
|
||||
if( maxAmplitude > PAQA_POP_THRESHOLD )
|
||||
{
|
||||
analysisResult->popPosition = maxPosition;
|
||||
analysisResult->popAmplitude = maxAmplitude;
|
||||
|
|
|
|||
Loading…
Reference in a new issue