Lines Matching refs:maxPeriod
42 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()
710 if(maxPeriod > stream->maxPeriod) { in findPitchPeriod()
711 maxPeriod = stream->maxPeriod; in findPitchPeriod()
714 period = findPitchPeriodInRange(samples, minPeriod, maxPeriod, in findPitchPeriod()
719 maxPeriod, &minDiff, &maxDiff); in findPitchPeriod()