Home
last modified time | relevance | path

Searched refs:curtime (Results 1 – 3 of 3) sorted by relevance

/device/generic/car/emulator/audio/driver/
Daudio_hw.c287 struct timespec curtime = { .tv_sec = 0, .tv_nsec = 0 }; in get_current_output_position() local
288 clock_gettime(CLOCK_MONOTONIC, &curtime); in get_current_output_position()
289 const int64_t now_us = (curtime.tv_sec * 1000000000LL + curtime.tv_nsec) / 1000; in get_current_output_position()
291 *timestamp = curtime; in get_current_output_position()
317 out->underrun_time = curtime; in get_current_output_position()
/device/linaro/dragonboard/audio/
Daudio_hw.c500 struct timespec curtime = { .tv_sec = 0, .tv_nsec = 0 }; in get_current_output_position() local
501 clock_gettime(CLOCK_MONOTONIC, &curtime); in get_current_output_position()
502 const int64_t now_us = (curtime.tv_sec * 1000000000LL + curtime.tv_nsec) / 1000; in get_current_output_position()
504 *timestamp = curtime; in get_current_output_position()
530 out->underrun_time = curtime; in get_current_output_position()
/device/google/cuttlefish/guest/hals/audio/
Daudio_hw.c503 struct timespec curtime = { .tv_sec = 0, .tv_nsec = 0 }; in get_current_output_position() local
504 clock_gettime(CLOCK_MONOTONIC, &curtime); in get_current_output_position()
505 const int64_t now_us = (curtime.tv_sec * 1000000000LL + curtime.tv_nsec) / 1000; in get_current_output_position()
507 *timestamp = curtime; in get_current_output_position()
533 out->underrun_time = curtime; in get_current_output_position()