Searched refs:curtime (Results 1 – 3 of 3) sorted by relevance
287 struct timespec curtime = { .tv_sec = 0, .tv_nsec = 0 }; in get_current_output_position() local288 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()
500 struct timespec curtime = { .tv_sec = 0, .tv_nsec = 0 }; in get_current_output_position() local501 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()
503 struct timespec curtime = { .tv_sec = 0, .tv_nsec = 0 }; in get_current_output_position() local504 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()