• Home
  • Raw
  • Download

Lines Matching refs:timing_info

182     memset(&s->timing_info, 0, sizeof(s->timing_info));  in pa_stream_new_with_proplist_internal()
466 x -= s->timing_info.transport_usec; in check_smoother_status()
468 x += s->timing_info.transport_usec; in check_smoother_status()
578 s->timing_info.configured_source_usec = usec; in pa_command_stream_moved()
580 s->timing_info.configured_sink_usec = usec; in pa_command_stream_moved()
666 s->timing_info.configured_source_usec = usec; in pa_command_stream_buffer_attr()
668 s->timing_info.configured_sink_usec = usec; in pa_command_stream_buffer_attr()
944 s->timing_info.write_index_corrupt = true; in invalidate_indexes()
955 s->timing_info.read_index_corrupt = true; in invalidate_indexes()
1151 s->timing_info.configured_source_usec = usec; in pa_create_stream_callback()
1153 s->timing_info.configured_sink_usec = usec; in pa_create_stream_callback()
1615 s->timing_info.write_index_corrupt = false; in pa_stream_write_ext_free()
1616 s->timing_info.write_index = offset + (int64_t) length; in pa_stream_write_ext_free()
1618 if (!s->timing_info.write_index_corrupt) in pa_stream_write_ext_free()
1619 s->timing_info.write_index += offset + (int64_t) length; in pa_stream_write_ext_free()
1621 s->timing_info.write_index_corrupt = true; in pa_stream_write_ext_free()
1624 if (!s->timing_info_valid || s->timing_info.write_index_corrupt) in pa_stream_write_ext_free()
1689 if (s->timing_info_valid && !s->timing_info.read_index_corrupt) in pa_stream_drop()
1690 s->timing_info.read_index += (int64_t) s->peek_memchunk.length; in pa_stream_drop()
1765 pa_assert(s->direction != PA_STREAM_PLAYBACK || !s->timing_info.read_index_corrupt); in calc_time()
1766 pa_assert(s->direction != PA_STREAM_RECORD || !s->timing_info.write_index_corrupt); in calc_time()
1771 …usec = pa_bytes_to_usec(s->timing_info.read_index < 0 ? 0 : (uint64_t) s->timing_info.read_index, … in calc_time()
1779 usec += s->timing_info.transport_usec; in calc_time()
1784 if (s->timing_info.sink_usec >= usec) in calc_time()
1787 usec -= s->timing_info.sink_usec; in calc_time()
1795 …usec = pa_bytes_to_usec(s->timing_info.write_index < 0 ? 0 : (uint64_t) s->timing_info.write_index… in calc_time()
1801 usec += s->timing_info.transport_usec; in calc_time()
1804 usec += s->timing_info.source_usec; in calc_time()
1808 if (s->timing_info.sink_usec >= usec) in calc_time()
1811 usec -= s->timing_info.sink_usec; in calc_time()
1838 i = &o->stream->timing_info; in stream_get_timing_info_callback()
2507 …PA_CHECK_VALIDITY(s->context, s->direction != PA_STREAM_PLAYBACK || !s->timing_info.read_index_cor… in pa_stream_get_time()
2508 …PA_CHECK_VALIDITY(s->context, s->direction != PA_STREAM_RECORD || !s->timing_info.write_index_corr… in pa_stream_get_time()
2565 …PA_CHECK_VALIDITY(s->context, s->direction != PA_STREAM_PLAYBACK || !s->timing_info.write_index_co… in pa_stream_get_latency()
2566 …PA_CHECK_VALIDITY(s->context, s->direction != PA_STREAM_RECORD || !s->timing_info.read_index_corru… in pa_stream_get_latency()
2572 cindex = s->timing_info.write_index; in pa_stream_get_latency()
2574 cindex = s->timing_info.read_index; in pa_stream_get_latency()
2598 return &s->timing_info; in pa_stream_get_timing_info()
2682 o->stream->timing_info.configured_source_usec = usec; in stream_set_buffer_attr_callback()
2684 o->stream->timing_info.configured_sink_usec = usec; in stream_set_buffer_attr_callback()