summaryrefslogtreecommitdiffstats
path: root/polyp/memblockq.c
diff options
context:
space:
mode:
Diffstat (limited to 'polyp/memblockq.c')
-rw-r--r--polyp/memblockq.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/polyp/memblockq.c b/polyp/memblockq.c
index 4019c893..8f499df0 100644
--- a/polyp/memblockq.c
+++ b/polyp/memblockq.c
@@ -323,3 +323,8 @@ uint32_t pa_memblockq_get_minreq(struct pa_memblockq *bq) {
assert(bq);
return bq->minreq;
}
+
+void pa_memblockq_prebuf_disable(struct pa_memblockq *bq) {
+ assert(bq);
+ bq->prebuf = 0;
+}