openwrt-packages/sound/pulseaudio/patches/001-no_default_64mb_alloc.p...

12 lines
328 B
Diff

--- a/src/pulsecore/memblock.c
+++ b/src/pulsecore/memblock.c
@@ -57,7 +57,7 @@
* stored in SHM and our OS does not commit the memory before we use
* it for the first time. */
#define PA_MEMPOOL_SLOTS_MAX 1024
-#define PA_MEMPOOL_SLOT_SIZE (64*1024)
+#define PA_MEMPOOL_SLOT_SIZE 64
#define PA_MEMEXPORT_SLOTS_MAX 128