virtual: document how to implement fixed block size filters

This commit is contained in:
Lennart Poettering 2010-02-25 02:26:03 +01:00
parent 87cc741d0e
commit 34bb996e69
2 changed files with 27 additions and 10 deletions

View file

@ -36,14 +36,10 @@ static void dump_chunk(const pa_memchunk *chunk) {
pa_assert(chunk);
printf("[");
q = pa_memblock_acquire(chunk->memblock);
for (e = (char*) q + chunk->index, n = 0; n < chunk->length; n++, e++)
printf("%c", *e);
pa_memblock_release(chunk->memblock);
printf("]");
}
static void dump(pa_memblockq *bq) {