Lines Matching defs:ppos
578 DWORD wpos, ppos, old_pos;
592 &ppos,
606 cur_blat = audio_ring_dist (wpos, ppos, bufsize);
623 if (ds->old_pos == ppos) {
625 dolog ("old_pos == ppos\n");
631 ds->played += audio_ring_dist (ds->old_pos, ppos, hw->bufsize);
636 if ((old_pos < ppos) && ((old_pos + len) > ppos)) {
637 len = ppos - old_pos;
640 if ((old_pos > ppos) && ((old_pos + len) > (ppos + bufsize))) {
641 ppos;
646 dolog ("len=%d bufsize=%d old_pos=%ld ppos=%ld\n",
647 len, bufsize, old_pos, ppos);
657 ds->old_ppos = ppos;