Lines Matching refs:tv_nsec
123 er->wr_render_time.tv_nsec = 0; in echo_reference_reset_l()
155 (int)buffer->time_stamp.tv_nsec, er->playback_delay); in echo_reference_write()
160 if ((buffer->time_stamp.tv_sec == 0) && (buffer->time_stamp.tv_nsec == 0) && in echo_reference_write()
161 (er->wr_render_time.tv_sec == 0) && (er->wr_render_time.tv_nsec == 0)) { in echo_reference_write()
178 er->wr_render_time.tv_nsec = buffer->time_stamp.tv_nsec; in echo_reference_write()
279 (int)er->wr_render_time.tv_sec, (int)er->wr_render_time.tv_nsec, er->playback_delay); in echo_reference_write()
340 ts.tv_nsec += (timeoutMs%1000) * 1000000; in echo_reference_read()
341 if (ts.tv_nsec >= 1000000000) { in echo_reference_read()
342 ts.tv_nsec -= 1000000000; in echo_reference_read()
361 if ((er->wr_render_time.tv_sec == 0 && er->wr_render_time.tv_nsec == 0) || in echo_reference_read()
362 (buffer->time_stamp.tv_sec == 0 && buffer->time_stamp.tv_nsec == 0)) { in echo_reference_read()
367 if (buffer->time_stamp.tv_nsec < er->wr_render_time.tv_nsec) { in echo_reference_read()
369 tmp.tv_nsec = 1000000000 + buffer->time_stamp.tv_nsec - er->wr_render_time.tv_nsec; in echo_reference_read()
372 tmp.tv_nsec = buffer->time_stamp.tv_nsec - er->wr_render_time.tv_nsec; in echo_reference_read()
374 timeDiff = (((int64_t)tmp.tv_sec * 1000000000 + tmp.tv_nsec)); in echo_reference_read()