Lines Matching refs:LINEAR_DIV
31 /* LINEAR_DIV needs to be large enough to handle resampling from 768000 -> 8000 */
33 #define LINEAR_DIV (1<<LINEAR_DIV_SHIFT)
55 return muldiv_near(frames, LINEAR_DIV, rate->pitch);
64 return muldiv_near(frames, rate->pitch, LINEAR_DIV);
127 pos += LINEAR_DIV;
179 pos += LINEAR_DIV;
218 pos = LINEAR_DIV - get_increment; /* Force first sample to be copied */
236 if (pos >= LINEAR_DIV) {
237 pos -= LINEAR_DIV;
280 pos = LINEAR_DIV - get_increment; /* Force first sample to be copied */
293 if (pos >= LINEAR_DIV) {
294 pos -= LINEAR_DIV;
348 rate->pitch = (((uint64_t)info->out.rate * LINEAR_DIV) +
365 rate->pitch = (((uint64_t)info->out.period_size * LINEAR_DIV) +
384 if (rate->pitch >= LINEAR_DIV) {