Lines Matching refs:tv_sec
123 er->wr_render_time.tv_sec = 0; in echo_reference_reset_l()
155 (int)buffer->time_stamp.tv_sec, in echo_reference_write()
161 if ((buffer->time_stamp.tv_sec == 0) && (buffer->time_stamp.tv_nsec == 0) && in echo_reference_write()
162 (er->wr_render_time.tv_sec == 0) && (er->wr_render_time.tv_nsec == 0)) { in echo_reference_write()
178 er->wr_render_time.tv_sec = buffer->time_stamp.tv_sec; in echo_reference_write()
292 (int)er->wr_render_time.tv_sec, (int)er->wr_render_time.tv_nsec, er->playback_delay); in echo_reference_write()
351 ts.tv_sec += timeoutMs/1000; in echo_reference_read()
355 ts.tv_sec += 1; in echo_reference_read()
369 if ((er->wr_render_time.tv_sec == 0 && er->wr_render_time.tv_nsec == 0) || in echo_reference_read()
370 (buffer->time_stamp.tv_sec == 0 && buffer->time_stamp.tv_nsec == 0)) { in echo_reference_read()
376 tmp.tv_sec = buffer->time_stamp.tv_sec - er->wr_render_time.tv_sec - 1; in echo_reference_read()
379 tmp.tv_sec = buffer->time_stamp.tv_sec - er->wr_render_time.tv_sec; in echo_reference_read()
382 timeDiff = (((int64_t)tmp.tv_sec * 1000000000 + tmp.tv_nsec)); in echo_reference_read()