summaryrefslogtreecommitdiffstats
path: root/src/module-oss-mmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/module-oss-mmap.c')
-rw-r--r--src/module-oss-mmap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/module-oss-mmap.c b/src/module-oss-mmap.c
index 62c2cc2a..a9cf84f3 100644
--- a/src/module-oss-mmap.c
+++ b/src/module-oss-mmap.c
@@ -68,10 +68,10 @@ static void out_fill_memblocks(struct userdata *u, unsigned n) {
if (!u->out_memblocks[u->out_current]) {
- u->out_memblocks[u->out_current] = chunk.memblock = pa_memblock_new_fixed(u->out_mmap+u->out_fragment_size*u->out_current, u->out_fragment_size);
+ chunk.memblock = u->out_memblocks[u->out_current] = pa_memblock_new_fixed(u->out_mmap+u->out_fragment_size*u->out_current, u->out_fragment_size);
chunk.length = chunk.memblock->length;
chunk.index = 0;
-
+
pa_sink_render_into_full(u->sink, &chunk);
}