Home
last modified time | relevance | path

Searched refs:noisePoints (Results 1 – 1 of 1) sorted by relevance

/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DWavAnalyzer.java151 double[] noisePoints = new double[Common.WINDOW_FOR_RECORDER.length]; in measurePipStrength() local
152 System.arraycopy(data, dataStartI - (s + 1) * noisePoints.length - 1, in measurePipStrength()
153 noisePoints, 0, noisePoints.length); in measurePipStrength()
154 for (int j = 0; j < noisePoints.length; j++) { in measurePipStrength()
155 noisePoints[j] = noisePoints[j] * Common.WINDOW_FOR_RECORDER[j]; in measurePipStrength()
163 for (int j = 0; j < noisePoints.length; j++) { in measurePipStrength()
164 fourierCoeff = fourierCoeff.add(phasor.multiply(noisePoints[j])); in measurePipStrength()
167 fourierCoeff = fourierCoeff.multiply(1.0 / noisePoints.length); in measurePipStrength()