Home
last modified time | relevance | path

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

/external/sonic/
Dsonic.c41 int minPeriod; member
212 int minPeriod = sampleRate/SONIC_MAX_PITCH; in allocateStreamBuffers() local
243 stream->minPeriod = minPeriod; in allocateStreamBuffers()
612 int minPeriod, in findPitchPeriodInRange() argument
622 for(period = minPeriod; period <= maxPeriod; period++) { in findPitchPeriodInRange()
687 int minPeriod = stream->minPeriod; in findPitchPeriod() local
698 period = findPitchPeriodInRange(samples, minPeriod, maxPeriod, &minDiff, &maxDiff); in findPitchPeriod()
701 period = findPitchPeriodInRange(stream->downSampleBuffer, minPeriod/skip, in findPitchPeriod()
705 minPeriod = period - (skip << 2); in findPitchPeriod()
707 if(minPeriod < stream->minPeriod) { in findPitchPeriod()
[all …]
DSonic.java37 private int minPeriod; field in Sonic
181 minPeriod = sampleRate/SONIC_MAX_PITCH; in allocateStreamBuffers()
516 int minPeriod, in findPitchPeriodInRange() argument
525 for(int period = minPeriod; period <= maxPeriod; period++) { in findPitchPeriodInRange()
595 … period = findPitchPeriodInRange(samples, position, minPeriod, maxPeriod, minDiff, maxDiff); in findPitchPeriod()
598 period = findPitchPeriodInRange(downSampleBuffer, 0, minPeriod/skip, in findPitchPeriod()
604 if(minP < minPeriod) { in findPitchPeriod()
605 minP = minPeriod; in findPitchPeriod()