Lines Matching defs:memblockq
32 #include "play-memblockq.h"
38 pa_memblockq *memblockq;
65 if (u->memblockq)
66 pa_memblockq_free(u->memblockq);
117 if (!u->memblockq)
120 if (pa_memblockq_peek(u->memblockq, chunk) < 0) {
124 pa_memblockq_free(u->memblockq);
125 u->memblockq = NULL;
133 /* If there's no memblock, there's going to be data in the memblockq after
136 * gap will occur if the memblockq is rewound beyond index 0.*/
138 pa_memblockq_drop(u->memblockq, chunk->length);
139 pa_assert_se(pa_memblockq_peek(u->memblockq, chunk) >= 0);
143 pa_memblockq_drop(u->memblockq, chunk->length);
155 if (!u->memblockq)
158 pa_memblockq_rewind(u->memblockq, nbytes);
168 if (!u->memblockq)
171 pa_memblockq_set_maxrewind(u->memblockq, nbytes);
197 u->memblockq = NULL;
275 if (u->memblockq)
276 pa_memblockq_free(u->memblockq);
278 if ((u->memblockq = q)) {