summaryrefslogtreecommitdiffstats
path: root/src/modules
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/module-waveout.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/module-waveout.c b/src/modules/module-waveout.c
index d4fa121b..1222d4af 100644
--- a/src/modules/module-waveout.c
+++ b/src/modules/module-waveout.c
@@ -565,7 +565,7 @@ int pa__init(pa_core *c, pa_module*m) {
}
u->silence.length = u->fragment_size;
- u->silence.memblock = pa_memblock_new(u->core->mem, u->silence.length);
+ u->silence.memblock = pa_memblock_new(u->core->mempool, u->silence.length);
assert(u->silence.memblock);
pa_silence_memblock(u->silence.memblock, &ss);
u->silence.index = 0;