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()
338 ts.tv_nsec += (timeoutMs%1000) * 1000000; in echo_reference_read()
339 if (ts.tv_nsec >= 1000000000) { in echo_reference_read()
340 ts.tv_nsec -= 1000000000; in echo_reference_read()
355 if ((er->wr_render_time.tv_sec == 0 && er->wr_render_time.tv_nsec == 0) || in echo_reference_read()
356 (buffer->time_stamp.tv_sec == 0 && buffer->time_stamp.tv_nsec == 0)) { in echo_reference_read()
361 if (buffer->time_stamp.tv_nsec < er->wr_render_time.tv_nsec) { in echo_reference_read()
363 tmp.tv_nsec = 1000000000 + buffer->time_stamp.tv_nsec - er->wr_render_time.tv_nsec; in echo_reference_read()
366 tmp.tv_nsec = buffer->time_stamp.tv_nsec - er->wr_render_time.tv_nsec; in echo_reference_read()
368 timeDiff = (((int64_t)tmp.tv_sec * 1000000000 + tmp.tv_nsec)); in echo_reference_read()