Lines Matching defs:rate
270 * Sound Tools rate change effect file.
289 struct rate {
301 struct rate *rate = audio_calloc (AUDIO_FUNC, 1, sizeof (*rate));
303 if (!rate) {
304 dolog ("Could not allocate resampler (%zu bytes)\n", sizeof (*rate));
308 rate->opos = 0;
311 rate->opos_inc = ((uint64_t) inrate << 32) / outrate;
313 rate->ipos = 0;
314 rate->ilast.l = 0;
315 rate->ilast.r = 0;
316 return rate;