Lines Matching refs:old_pos
34 unsigned int old_pos;
243 int old_pos = fmd->old_pos;
246 if (ppos == old_pos || !ppos) {
250 if ((old_pos < ppos) && ((old_pos + len) > ppos)) {
251 len = ppos - old_pos;
254 if ((old_pos > ppos) && ((old_pos + len) > (ppos + hw->samples))) {
255 len = hw->samples - old_pos + ppos;
261 dolog ("decr=%d live=%d ppos=%d old_pos=%d len=%d\n",
262 decr, live, ppos, old_pos, len);
273 fmd->old_pos, decr,
294 fmd->old_pos = (fmd->old_pos + decr) % hw->samples;