Searched refs:appl_ptr1 (Results 1 – 1 of 1) sorted by relevance
540 snd_pcm_uframes_t appl_ptr, appl_ptr1, diff; in copy_play_buf() local541 appl_ptr = appl_ptr1 = runtime->control->appl_ptr; in copy_play_buf()542 appl_ptr1 -= appl_ptr1 % runtime->buffer_size; in copy_play_buf()543 appl_ptr1 += play->buf_pos / play->pcm_salign; in copy_play_buf()544 if (appl_ptr < appl_ptr1) in copy_play_buf()545 appl_ptr1 -= runtime->buffer_size; in copy_play_buf()546 diff = (appl_ptr - appl_ptr1) * play->pcm_salign; in copy_play_buf()