Lines Matching defs:memblockq
86 pa_memblockq *memblockq;
705 * Sets the memblockq to the configured latency corrected by latency_offset_usec */
714 * hold more than final_latency in the memblockq */
724 current_memblockq_length = pa_memblockq_get_length(u->memblockq);
730 pa_memblockq_drop(u->memblockq, buffer_correction);
736 pa_memblockq_seek(u->memblockq, (int64_t)buffer_correction, PA_SEEK_RELATIVE, true);
783 /* Add content of delay memblockq to the source latency */
1033 if (pa_memblockq_peek(u->memblockq, chunk) < 0) {
1039 pa_memblockq_drop(u->memblockq, chunk->length);
1041 /* Adjust the memblockq to ensure that there is
1057 pa_memblockq_rewind(u->memblockq, nbytes);
1071 *r = pa_bytes_to_usec(pa_memblockq_get_length(u->memblockq), &u->sink_input->sample_spec);
1080 pa_memblockq_push_align(u->memblockq, chunk);
1083 * are enabled. Disable them on first push and correct the memblockq. If pop
1097 * but since we already pushed the chunk to the memblockq, we need
1099 * won't be counted towards both the memblockq latency and the
1139 pa_memblockq_is_readable(u->memblockq) &&
1160 pa_memblockq_seek(u->memblockq, -offset, PA_SEEK_RELATIVE, true);
1172 u->latency_snapshot.loopback_memblockq_length = pa_memblockq_get_length(u->memblockq);
1173 /* Add content of render memblockq to sink latency */
1256 pa_memblockq_set_prebuf(u->memblockq, pa_sink_input_get_max_request(i)*2);
1257 pa_memblockq_set_maxrewind(u->memblockq, pa_sink_input_get_max_rewind(i));
1282 pa_memblockq_set_maxrewind(u->memblockq, nbytes);
1293 pa_memblockq_set_prebuf(u->memblockq, nbytes*2);
1861 u->memblockq = pa_memblockq_new(
1862 "module-loopback memblockq",
1872 /* Fill the memblockq with silence */
1873 pa_memblockq_seek(u->memblockq, pa_usec_to_bytes(u->latency, &u->sink_input->sample_spec), PA_SEEK_RELATIVE, true);
1945 if (u->memblockq)
1946 pa_memblockq_free(u->memblockq);