summaryrefslogtreecommitdiffstats
path: root/polyp/memblockq.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2004-09-10 22:35:12 +0000
committerLennart Poettering <lennart@poettering.net>2004-09-10 22:35:12 +0000
commit25123469d53e2ef555549984ea4e8b028c1632fb (patch)
tree4a1374c5e7ca11afff25d240b81809d23f791eb1 /polyp/memblockq.c
parent0c99fb31826fba0ed4f904d04dd56f1df3663a3e (diff)
add support for module search path as command line argument
protocol-native: move first data request into ack of stream creation improve mainloop API: return the number of dispatched sources on iterate() fix a resampling bug introduce network latency measurement WARNING: all these changes together may break some applications git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@189 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'polyp/memblockq.c')
-rw-r--r--polyp/memblockq.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/polyp/memblockq.c b/polyp/memblockq.c
index a79814be..59794d6c 100644
--- a/polyp/memblockq.c
+++ b/polyp/memblockq.c
@@ -149,9 +149,9 @@ int pa_memblockq_peek(struct pa_memblockq* bq, struct pa_memchunk *chunk) {
void pa_memblockq_drop(struct pa_memblockq *bq, const struct pa_memchunk *chunk, size_t length) {
assert(bq && chunk && length);
- if (!bq->blocks || memcmp(&bq->blocks->chunk, chunk, sizeof(struct pa_memchunk)))
+ if (!bq->blocks || memcmp(&bq->blocks->chunk, chunk, sizeof(struct pa_memchunk)))
return;
-
+
assert(length <= bq->blocks->chunk.length);
pa_memblockq_skip(bq, length);
}