Lines Matching refs:hw_ptr
53 snd_pcm_sframes_t hw_ptr = *pcm->hw.ptr;54 hw_ptr -= frames;55 if (hw_ptr < 0)56 hw_ptr += pcm->boundary;57 *pcm->hw.ptr = hw_ptr;62 snd_pcm_uframes_t hw_ptr = *pcm->hw.ptr;63 hw_ptr += frames;64 if (hw_ptr >= pcm->boundary)65 hw_ptr -= pcm->boundary;66 *pcm->hw.ptr = hw_ptr;