Lines Matching refs:phases
263 const int phases = c.mL; in createKaiserFir() local
271 (phases + 1) * halfLength * sizeof(TC)); in createKaiserFir()
283 firKaiserGen(coefs, phases, halfLength, stopBandAtten, fcr, attenuation); in createKaiserFir()
301 const double fp = (fcr - halfbw) / phases; in createKaiserFir()
302 const double fs = (fcr + halfbw) / phases; in createKaiserFir()
492 int phases = mSampleRate / gcd(mSampleRate, inSampleRate); in setSampleRate() local
504 while (phases<63) { in setSampleRate()
505 phases *= 2; // this code only needed to support dynamic rate changes in setSampleRate()
508 if (phases>=256) { // too many phases, always interpolate in setSampleRate()
509 phases = 127; in setSampleRate()
513 mConstants.set(phases, halfLength, inSampleRate, mSampleRate); in setSampleRate()