• Home
  • Raw
  • Download

Lines Matching refs:frames

718 	snd_pcm_uframes_t frames;  in snd_pcm_hw_params()  local
791 frames = 1; in snd_pcm_hw_params()
794 frames *= 2; in snd_pcm_hw_params()
797 runtime->min_align = frames; in snd_pcm_hw_params()
2931 snd_pcm_uframes_t frames, in forward_appl_ptr() argument
2940 if (frames > (snd_pcm_uframes_t)avail) in forward_appl_ptr()
2941 frames = avail; in forward_appl_ptr()
2942 appl_ptr = runtime->control->appl_ptr + frames; in forward_appl_ptr()
2946 return ret < 0 ? ret : frames; in forward_appl_ptr()
2951 snd_pcm_uframes_t frames, in rewind_appl_ptr() argument
2960 if (frames > (snd_pcm_uframes_t)avail) in rewind_appl_ptr()
2961 frames = avail; in rewind_appl_ptr()
2962 appl_ptr = runtime->control->appl_ptr - frames; in rewind_appl_ptr()
2971 return ret < 0 ? 0 : frames; in rewind_appl_ptr()
2975 snd_pcm_uframes_t frames) in snd_pcm_rewind() argument
2979 if (frames == 0) in snd_pcm_rewind()
2985 ret = rewind_appl_ptr(substream, frames, in snd_pcm_rewind()
2994 snd_pcm_uframes_t frames) in snd_pcm_forward() argument
2998 if (frames == 0) in snd_pcm_forward()
3004 ret = forward_appl_ptr(substream, frames, in snd_pcm_forward()
3216 result = snd_pcm_lib_write(substream, xferi.buf, xferi.frames); in snd_pcm_xferi_frames_ioctl()
3218 result = snd_pcm_lib_read(substream, xferi.buf, xferi.frames); in snd_pcm_xferi_frames_ioctl()
3245 result = snd_pcm_lib_writev(substream, bufs, xfern.frames); in snd_pcm_xfern_frames_ioctl()
3247 result = snd_pcm_lib_readv(substream, bufs, xfern.frames); in snd_pcm_xfern_frames_ioctl()
3257 snd_pcm_uframes_t frames; in snd_pcm_rewind_ioctl() local
3260 if (get_user(frames, _frames)) in snd_pcm_rewind_ioctl()
3264 result = snd_pcm_rewind(substream, frames); in snd_pcm_rewind_ioctl()
3273 snd_pcm_uframes_t frames; in snd_pcm_forward_ioctl() local
3276 if (get_user(frames, _frames)) in snd_pcm_forward_ioctl()
3280 result = snd_pcm_forward(substream, frames); in snd_pcm_forward_ioctl()
3424 snd_pcm_uframes_t *frames = arg; in snd_pcm_kernel_ioctl() local
3436 result = snd_pcm_forward(substream, *frames); in snd_pcm_kernel_ioctl()
3452 return snd_pcm_delay(substream, frames); in snd_pcm_kernel_ioctl()
3517 snd_pcm_uframes_t frames; in snd_pcm_readv() local
3533 frames = bytes_to_samples(runtime, to->iov->iov_len); in snd_pcm_readv()
3539 result = snd_pcm_lib_readv(substream, bufs, frames); in snd_pcm_readv()
3554 snd_pcm_uframes_t frames; in snd_pcm_writev() local
3569 frames = bytes_to_samples(runtime, from->iov->iov_len); in snd_pcm_writev()
3575 result = snd_pcm_lib_writev(substream, bufs, frames); in snd_pcm_writev()