Home
last modified time | relevance | path

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

/external/sonic/
Dsonic.c42 int maxPeriod; member
213 int maxPeriod = sampleRate/SONIC_MIN_PITCH; in allocateStreamBuffers() local
214 int maxRequired = 2*maxPeriod; in allocateStreamBuffers()
244 stream->maxPeriod = maxPeriod; in allocateStreamBuffers()
613 int maxPeriod, in findPitchPeriodInRange() argument
622 for(period = minPeriod; period <= maxPeriod; period++) { in findPitchPeriodInRange()
688 int maxPeriod = stream->maxPeriod; in findPitchPeriod() local
698 period = findPitchPeriodInRange(samples, minPeriod, maxPeriod, &minDiff, &maxDiff); in findPitchPeriod()
702 maxPeriod/skip, &minDiff, &maxDiff); in findPitchPeriod()
706 maxPeriod = period + (skip << 2); in findPitchPeriod()
[all …]
DSonic.java38 private int maxPeriod; field in Sonic
182 maxPeriod = sampleRate/SONIC_MIN_PITCH; in allocateStreamBuffers()
183 maxRequired = 2*maxPeriod; in allocateStreamBuffers()
517 int maxPeriod, in findPitchPeriodInRange() argument
525 for(int period = minPeriod; period <= maxPeriod; period++) { in findPitchPeriodInRange()
595 … period = findPitchPeriodInRange(samples, position, minPeriod, maxPeriod, minDiff, maxDiff); in findPitchPeriod()
599 maxPeriod/skip, minDiff, maxDiff); in findPitchPeriod()
607 if(maxP > maxPeriod) { in findPitchPeriod()
608 maxP = maxPeriod; in findPitchPeriod()
/external/drrickorang/LoopbackApp/app/src/main/java/org/drrickorang/loopback/
DPerformanceMeasurement.java103 int maxPeriod = (mBufferData.length - 1); in measurePerformance() local
104 log("max buffer period: " + maxPeriod + " ms"); in measurePerformance()