Lines Matching refs:memblockq
80 pa_memblockq *memblockq; member
537 current_memblockq_length = pa_memblockq_get_length(u->memblockq); in memblockq_adjust()
543 pa_memblockq_drop(u->memblockq, buffer_correction); in memblockq_adjust()
549 pa_memblockq_seek(u->memblockq, (int64_t)buffer_correction, PA_SEEK_RELATIVE, true); in memblockq_adjust()
834 if (pa_memblockq_peek(u->memblockq, chunk) < 0) { in sink_input_pop_cb()
840 pa_memblockq_drop(u->memblockq, chunk->length); in sink_input_pop_cb()
858 pa_memblockq_rewind(u->memblockq, nbytes); in sink_input_process_rewind_cb()
872 … *r = pa_bytes_to_usec(pa_memblockq_get_length(u->memblockq), &u->sink_input->sample_spec); in sink_input_process_msg_cb()
881 pa_memblockq_push_align(u->memblockq, chunk); in sink_input_process_msg_cb()
935 pa_memblockq_is_readable(u->memblockq)) { in sink_input_process_msg_cb()
955 pa_memblockq_seek(u->memblockq, -offset, PA_SEEK_RELATIVE, true); in sink_input_process_msg_cb()
967 u->latency_snapshot.loopback_memblockq_length = pa_memblockq_get_length(u->memblockq); in sink_input_process_msg_cb()
1040 pa_memblockq_set_prebuf(u->memblockq, pa_sink_input_get_max_request(i)*2); in sink_input_attach_cb()
1041 pa_memblockq_set_maxrewind(u->memblockq, pa_sink_input_get_max_rewind(i)); in sink_input_attach_cb()
1066 pa_memblockq_set_maxrewind(u->memblockq, nbytes); in sink_input_update_max_rewind_cb()
1077 pa_memblockq_set_prebuf(u->memblockq, nbytes*2); in sink_input_update_max_request_cb()
1562 u->memblockq = pa_memblockq_new( in pa__init()
1574 …pa_memblockq_seek(u->memblockq, pa_usec_to_bytes(u->latency, &u->sink_input->sample_spec), PA_SEEK… in pa__init()
1645 if (u->memblockq) in pa__done()
1646 pa_memblockq_free(u->memblockq); in pa__done()