Lines Matching refs:pos
47 unsigned int pos; member
57 data->pos = 0; in rate_init()
69 unsigned int pos = 0; in resample_expand() local
80 pos = data->pos; in resample_expand()
99 if (pos & ~R_MASK) { in resample_expand()
100 pos &= R_MASK; in resample_expand()
107 val = S1 + ((S2 - S1) * (signed int)pos) / BITS; in resample_expand()
114 pos += data->pitch; in resample_expand()
120 data->pos = pos; in resample_expand()
128 unsigned int pos = 0; in resample_shrink() local
139 pos = data->pos; in resample_shrink()
163 if (pos & ~R_MASK) { in resample_shrink()
164 pos &= R_MASK; in resample_shrink()
165 val = S1 + ((S2 - S1) * (signed int)pos) / BITS; in resample_shrink()
174 pos += data->pitch; in resample_shrink()
180 data->pos = pos; in resample_shrink()
339 data->pos = 0; in snd_pcm_plugin_build_rate()