Searched refs:maxPeriod (Results 1 – 2 of 2) sorted by relevance
/external/sonic/ |
D | sonic.c | 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() [all …]
|
D | Sonic.java | 38 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()
|