]> code.delx.au - pulseaudio/blobdiff - src/pulsecore/play-memchunk.c
Merge HUGE set of changes temporarily into a branch, to allow me to move them from...
[pulseaudio] / src / pulsecore / play-memchunk.c
index 9132e294519ec20eb90f829289156d3b7e7bb74d..65b6e825540bbf80099d2122f648d06b5d90b1eb 100644 (file)
@@ -57,7 +57,7 @@ static int sink_input_peek(pa_sink_input *i, pa_memchunk *chunk) {
     if (c->length <= 0)
         return -1;
 
-    assert(c->memblock && c->memblock->length);
+    assert(c->memblock);
     *chunk = *c;
     pa_memblock_ref(c->memblock);
 
@@ -122,7 +122,5 @@ int pa_play_memchunk(
 
     pa_memblock_ref(chunk->memblock);
 
-    pa_sink_notify(si->sink);
-
     return 0;
 }