Home
last modified time | relevance | path

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

/device/htc/flounder/audio/hal/
Daudio_hw.c932 long delay_ns; in get_capture_reference_delay() local
942 buffer->delay_ns = 0; in get_capture_reference_delay()
954 buffer->delay_ns = kernel_delay; in get_capture_reference_delay()
958 … buffer->time_stamp.tv_sec , buffer->time_stamp.tv_nsec, kernel_frames, buffer->delay_ns, frames); in get_capture_reference_delay()
972 long delay_ns; in get_capture_delay() local
981 buffer->delay_ns = 0; in get_capture_delay()
997 rsmp_delay = in->resampler->delay_ns(in->resampler); in get_capture_delay()
1002 delay_ns = kernel_delay + buf_delay + rsmp_delay; in get_capture_delay()
1005 buffer->delay_ns = delay_ns; in get_capture_delay()
1010 buffer->delay_ns, kernel_delay, buf_delay, rsmp_delay, in get_capture_delay()
[all …]
/device/htc/flounder/sensor_hub/libsensors/
DCwMcuSensor.cpp996 int CwMcuSensor::setDelay(int32_t handle, int64_t delay_ns) { in setDelay() argument
1007 handle, delay_ns); in setDelay()
1017 size_t n = snprintf(buf, sizeof(buf), "%d %lld\n", what, (delay_ns/NS_PER_MS)); in setDelay()