Lines Matching refs:inFreq
46 Resampler::Resampler(int inFreq, int outFreq, ResamplerType type) in Resampler() argument
65 Reset(inFreq, outFreq, type); in Resampler()
100 int Resampler::ResetIfNeeded(int inFreq, int outFreq, ResamplerType type) in ResetIfNeeded() argument
102 int tmpInFreq_kHz = inFreq / 1000; in ResetIfNeeded()
108 return Reset(inFreq, outFreq, type); in ResetIfNeeded()
115 int Resampler::Reset(int inFreq, int outFreq, ResamplerType type) in Reset() argument
164 int a = inFreq; in Reset()
176 my_in_frequency_khz_ = inFreq / 1000; in Reset()
180 inFreq = inFreq / b; in Reset()
189 slave_left_ = new Resampler(inFreq, outFreq, type); in Reset()
190 slave_right_ = new Resampler(inFreq, outFreq, type); in Reset()
193 if (inFreq == outFreq) in Reset()
196 } else if (inFreq == 1) in Reset()
221 switch (inFreq) in Reset()
242 } else if ((inFreq == 2) && (outFreq == 3)) in Reset()
245 } else if ((inFreq == 2) && (outFreq == 11)) in Reset()
248 } else if ((inFreq == 4) && (outFreq == 11)) in Reset()
251 } else if ((inFreq == 8) && (outFreq == 11)) in Reset()
254 } else if ((inFreq == 3) && (outFreq == 2)) in Reset()
257 } else if ((inFreq == 11) && (outFreq == 2)) in Reset()
260 } else if ((inFreq == 11) && (outFreq == 4)) in Reset()
263 } else if ((inFreq == 11) && (outFreq == 16)) in Reset()
266 } else if ((inFreq == 11) && (outFreq == 32)) in Reset()
269 } else if ((inFreq == 11) && (outFreq == 8)) in Reset()