Lines Matching refs:hw_ptr
387 * synchronize hardware pointer (hw_ptr) with ours
402 /* not really started yet - don't update hw_ptr */
404 dmix->hw_ptr += diff;
405 dmix->hw_ptr %= pcm->boundary;
465 snd_pcm_dmix_sync_ptr0(pcm, status->hw_ptr);
473 status->hw_ptr = *pcm->hw.ptr; /* boundary may be different */
533 dmix->hw_ptr %= pcm->period_size;
534 dmix->appl_ptr = dmix->last_appl_ptr = dmix->hw_ptr;
688 * (last_appl_ptr - hw_ptr) indicates the frames which are already
703 * So (appl_ptr - hw_ptr) indicates the frames which can be remixed
705 size = pcm_frame_diff(dmix->appl_ptr, dmix->hw_ptr, pcm->boundary);
1094 snd_pcm_set_hw_ptr(pcm, &dmix->hw_ptr, -1, 0);