Home
last modified time | relevance | path

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

/external/sonic/
DSonic.java521 int bestPeriod = 0, worstPeriod = 255; in findPitchPeriodInRange() local
535 if(diff*bestPeriod < minDiff*period) { in findPitchPeriodInRange()
537 bestPeriod = period; in findPitchPeriodInRange()
544 retMinDiff = minDiff/bestPeriod; in findPitchPeriodInRange()
546 return bestPeriod; in findPitchPeriodInRange()
Dsonic.c617 int period, bestPeriod = 0, worstPeriod = 255; in findPitchPeriodInRange() local
635 if(diff*bestPeriod < minDiff*period) { in findPitchPeriodInRange()
637 bestPeriod = period; in findPitchPeriodInRange()
644 *retMinDiff = minDiff/bestPeriod; in findPitchPeriodInRange()
646 return bestPeriod; in findPitchPeriodInRange()