mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-06 13:29:56 -05:00
virtual: document how to implement fixed block size filters
This commit is contained in:
parent
87cc741d0e
commit
34bb996e69
2 changed files with 27 additions and 10 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue