/***
This file is part of PulseAudio.
+ Copyright 2004-2006 Lennart Poettering
+
PulseAudio is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published
by the Free Software Foundation; either version 2 of the License,
if (c->length <= 0)
return -1;
- assert(c->memblock && c->memblock->length);
+ assert(c->memblock);
*chunk = *c;
pa_memblock_ref(c->memblock);
pa_memblock_ref(chunk->memblock);
- pa_sink_notify(si->sink);
-
return 0;
}