summaryrefslogtreecommitdiffstats
path: root/src/pulse/stream.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2007-07-25 14:46:40 +0000
committerLennart Poettering <lennart@poettering.net>2007-07-25 14:46:40 +0000
commit068f5d5eef1cab3615f9899e0e458d59e54e95a2 (patch)
treeb8ad9fd7fac81028220bf3cb561f7f8a85d2e994 /src/pulse/stream.c
parent9cc20b46b7f8eba94f52a563e7781aff90274bef (diff)
drop chunk argument from various drop() functions, since it doesn't make any sense if we want to guarantee always monotonously increasing read pointers; a couple of other fixes
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1529 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'src/pulse/stream.c')
-rw-r--r--src/pulse/stream.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pulse/stream.c b/src/pulse/stream.c
index 44fce52f..f18a5dde 100644
--- a/src/pulse/stream.c
+++ b/src/pulse/stream.c
@@ -700,7 +700,7 @@ int pa_stream_drop(pa_stream *s) {
PA_CHECK_VALIDITY(s->context, s->direction == PA_STREAM_RECORD, PA_ERR_BADSTATE);
PA_CHECK_VALIDITY(s->context, s->peek_memchunk.memblock, PA_ERR_BADSTATE);
- pa_memblockq_drop(s->record_memblockq, &s->peek_memchunk, s->peek_memchunk.length);
+ pa_memblockq_drop(s->record_memblockq, s->peek_memchunk.length);
/* Fix the simulated local read index */
if (s->timing_info_valid && !s->timing_info.read_index_corrupt)