]> code.delx.au - pulseaudio/blobdiff - src/pulse/stream.c
add new PA_SINK_CAN_SUSPEND/PA_SOURCE_CAN_SUSPEND flag
[pulseaudio] / src / pulse / stream.c
index 44fce52fb4e8365e1e2d11a687c5731140d8bafd..f18a5dde8f21833f5ea2d67b177aefcc173fde2e 100644 (file)
@@ -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)