Home
last modified time | relevance | path

Searched refs:LINEAR_DIV (Results 1 - 1 of 1) sorted by relevance

/third_party/alsa-lib/src/pcm/
H A Dpcm_rate_linear.c31 /* LINEAR_DIV needs to be large enough to handle resampling from 768000 -> 8000 */
33 #define LINEAR_DIV (1<<LINEAR_DIV_SHIFT) macro
55 return muldiv_near(frames, LINEAR_DIV, rate->pitch); in input_frames()
64 return muldiv_near(frames, rate->pitch, LINEAR_DIV); in output_frames()
127 pos += LINEAR_DIV; in linear_expand()
179 pos += LINEAR_DIV; in linear_expand_s16()
218 pos = LINEAR_DIV - get_increment; /* Force first sample to be copied */ in linear_shrink()
236 if (pos >= LINEAR_DIV) { in linear_shrink()
237 pos -= LINEAR_DIV; in linear_shrink()
280 pos = LINEAR_DIV in linear_shrink_s16()
[all...]

Completed in 2 milliseconds