Home
last modified time | relevance | path

Searched refs:appl_ptr1 (Results 1 – 1 of 1) sorted by relevance

/linux-3.4.99/sound/drivers/
Daloop.c420 snd_pcm_uframes_t appl_ptr, appl_ptr1, diff; in copy_play_buf() local
421 appl_ptr = appl_ptr1 = runtime->control->appl_ptr; in copy_play_buf()
422 appl_ptr1 -= appl_ptr1 % runtime->buffer_size; in copy_play_buf()
423 appl_ptr1 += play->buf_pos / play->pcm_salign; in copy_play_buf()
424 if (appl_ptr < appl_ptr1) in copy_play_buf()
425 appl_ptr1 -= runtime->buffer_size; in copy_play_buf()
426 diff = (appl_ptr - appl_ptr1) * play->pcm_salign; in copy_play_buf()