packages/sound/pulseaudio/patches/001-no_default_64mb_alloc.patch

14 lines
555 B
Diff
Raw Normal View History

Index: pulseaudio-0.99.2/src/pulsecore/memblock.c
===================================================================
--- pulseaudio-0.99.2.orig/src/pulsecore/memblock.c 2011-08-15 10:41:56.000000000 +0200
+++ pulseaudio-0.99.2/src/pulsecore/memblock.c 2011-08-18 13:54:53.000000000 +0200
@@ -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