Lines Matching refs:kernel_frames
909 unsigned int kernel_frames; in get_capture_reference_delay() local
920 if (pcm_get_htimestamp(ref_device->pcm, &kernel_frames, &tstamp) < 0) { in get_capture_reference_delay()
932 …kernel_delay = (long)(((int64_t)kernel_frames * 1000000000) / ref_device->pcm_profile->config.rate… in get_capture_reference_delay()
939 … buffer->time_stamp.tv_sec , buffer->time_stamp.tv_nsec, kernel_frames, buffer->delay_ns, frames); in get_capture_reference_delay()
948 unsigned int kernel_frames; in get_capture_delay() local
959 if (pcm_get_htimestamp(pcm_device->pcm, &kernel_frames, &tstamp) < 0) { in get_capture_delay()
981 kernel_delay = (long)(((int64_t)kernel_frames * 1000000000) / in->config.rate); in get_capture_delay()
990 buffer->time_stamp.tv_sec , buffer->time_stamp.tv_nsec, kernel_frames, in get_capture_delay()
1220 unsigned int kernel_frames; in get_playback_delay() local
1228 status = pcm_get_htimestamp(pcm_device->pcm, &kernel_frames, &buffer->time_stamp); in get_playback_delay()
1238 kernel_frames = pcm_get_buffer_size(pcm_device->pcm) - kernel_frames; in get_playback_delay()
1243 buffer->delay_ns = (long)(((int64_t)(kernel_frames + frames)* 1000000000)/ in get_playback_delay()
1246 buffer->time_stamp.tv_sec, buffer->time_stamp.tv_nsec, kernel_frames, buffer->delay_ns); in get_playback_delay()