Searched refs:hdelta (Results 1 – 1 of 1) sorted by relevance
264 snd_pcm_sframes_t hdelta, delta; in snd_pcm_update_hw_ptr0() local321 hdelta = curr_jiffies - runtime->hw_ptr_jiffies; in snd_pcm_update_hw_ptr0()322 if (hdelta > runtime->hw_ptr_buffer_jiffies/2 + 1) { in snd_pcm_update_hw_ptr0()357 hdelta = jdelta - delta * HZ / runtime->rate; in snd_pcm_update_hw_ptr0()359 while (hdelta > xrun_threshold) { in snd_pcm_update_hw_ptr0()367 hdelta -= runtime->hw_ptr_buffer_jiffies; in snd_pcm_update_hw_ptr0()391 hdelta = delta; in snd_pcm_update_hw_ptr0()392 if (hdelta < runtime->delay) in snd_pcm_update_hw_ptr0()394 hdelta -= runtime->delay; in snd_pcm_update_hw_ptr0()396 if (((hdelta * HZ) / runtime->rate) > jdelta + HZ/100) { in snd_pcm_update_hw_ptr0()[all …]