diff options
author | Lennart Poettering <lennart@poettering.net> | 2004-08-17 18:53:42 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2004-08-17 18:53:42 +0000 |
commit | 81822a751929fbc153282de3af447b9430d5c474 (patch) | |
tree | 9fd51b79347cf8561ec90966287c4e9f180c2cf0 /polyp/memblockq.c | |
parent | 2d6d3e5c474544fd8dc4e59695a20f8cbab976fe (diff) |
fix x11 build
disable prebuf on drain
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@136 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'polyp/memblockq.c')
-rw-r--r-- | polyp/memblockq.c | 5 |
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; +} |