Lines Matching refs:delta_capt
652 unsigned long delta_play = 0, delta_capt = 0, cur_jiffies; in loopback_jiffies_timer_pos_update() local
663 delta_capt = cur_jiffies - dpcm_capt->last_jiffies; in loopback_jiffies_timer_pos_update()
664 dpcm_capt->last_jiffies += delta_capt; in loopback_jiffies_timer_pos_update()
667 if (delta_play == 0 && delta_capt == 0) in loopback_jiffies_timer_pos_update()
670 if (delta_play > delta_capt) { in loopback_jiffies_timer_pos_update()
671 count1 = bytepos_delta(dpcm_play, delta_play - delta_capt); in loopback_jiffies_timer_pos_update()
673 delta_play = delta_capt; in loopback_jiffies_timer_pos_update()
674 } else if (delta_play < delta_capt) { in loopback_jiffies_timer_pos_update()
675 count1 = bytepos_delta(dpcm_capt, delta_capt - delta_play); in loopback_jiffies_timer_pos_update()
678 delta_capt = delta_play; in loopback_jiffies_timer_pos_update()
681 if (delta_play == 0 && delta_capt == 0) in loopback_jiffies_timer_pos_update()
686 count2 = bytepos_delta(dpcm_capt, delta_capt); in loopback_jiffies_timer_pos_update()